anonymous personalization without leaving drupal
play

Anonymous Personalization Without Leaving Drupal by Mike Lander - PowerPoint PPT Presentation

DrupalCon Seattle 2019 Anonymous Personalization Without Leaving Drupal by Mike Lander Michael Lander Technical Director @ Elevated Third D.O.: @michaellander Twitter: @MikeLand3r Drupal Slack: @michaellander What is personalization?


  1. DrupalCon Seattle 2019 Anonymous Personalization Without Leaving Drupal by Mike Lander

  2. Michael Lander Technical Director @ Elevated Third D.O.: @michaellander Twitter: @MikeLand3r Drupal Slack: @michaellander

  3. What is personalization? Personalization is to alter the content and UX of a website to provide an experience customized to an individual users context or state.

  4. Types of anonymous personalization: ● Dynamic Content Recommendation ● Individualized Tokenization ● Contextual Conditions* * This is where we are focusing.

  5. Drupal is great at providing customized experiences for authenticated users, and flattening pages for anonymous users. But what if we want to provide customized experiences for anonymous users?

  6. localStorage Third Parties Visitor Actions Device Properties And more... Cookies Browser properties

  7. drupal.org/project/smart_content

  8. Smart Content at its core, is an API and toolset for providing conditions, and subsequent reactions.

  9. … it is not, however, an access control module.

  10. The Ecosystem ● Smart Content (smart_content) ● Smart Content Block (smart_content_block)* ● Smart Content Browser (smart_content_browser)* ● Smart Content View Mode (smart_content_view_mode) ● Smart Content Segments (smart_content_segments) ● More to come... * Included in smart_content module.

  11. Let’s take a look

  12. How it works

  13. Placeholder <div> Page is rendered with a placeholder for each Smart Content decision.

  14. Settings are passed to Javascript containing associated data for each decision.

  15. Additional libraries are also attached for processing conditions.

  16. Placeholder <div> Decision.js searches the page for all placeholders, and begins processing the associated data for each decision.

  17. Variation 1 Variation 2 Variation 3 Decision Condition Condition Condition If mobile If cookie = v1 If cookie = v2 Reaction Reaction Reaction Variation 1 Show block 1 Show block 2 Show block 3 Variation 2 Variation 3 Condition Handler

  18. Condition Handler Smart Content Smart Content Browser Demo Condition Returns: Returns: If mobile mobile = false cookie = v1 Condition Condition If cookie = v1 If cookie = v2 Decision Common conditions are combined until value satisfied.

  19. Variation 1 Variation 1 Variation 2 Variation 2 Variation 3 Variation 3 Decision Decision Condition Condition Condition Condition Condition Condition If mobile If mobile If cookie = v1 If cookie = v1 If cookie = v2 If cookie = v2 Reaction Reaction Reaction Reaction Reaction Reaction Variation 1 Show block 1 Show block 1 Show block 2 Show block 2 Show block 3 Show block 3 Variation 2 Variation 3 Returns: Condition Handler cookie = v1 mobile = false

  20. If a winner is found, a request is made to retrieve the winning reaction. The placeholder is then replaced.

  21. … so what can we use this for?

  22. Time-of-day customizations Targeting segments New vs Returning Gated resources Content based on scoring A/B or Multivariate Location based customizations Per device/os content GDPR Notifications

  23. Get Involved drupal.org/project/smart_content

  24. Smart Content is currently in alpha. We are looking for testers, and looking for people to extend and push the module.

  25. Path to Beta: ● Finalize interfaces ● Fix any beta-blocking bugs ● Improve documentation

  26. And then what? ● Continue on to a full release ● Extend the module to feature additional conditions and reactions ● A/B tests, multivariate tests…?

  27. Questions?

  28. Contribution opportunities Friday, April 12, 2019 Mentored First Time General Contribution Contributor Workshop Contribution 9:00-12:00 9:00-18:00 9:00-18:00 Room: 606 Room: 6A Room: 602 #DrupalContributions

  29. What did you think? Locate this session at the DrupalCon Seattle website: http://seattle2019.drupal.org/schedule Take the Survey! https://www.surveymonkey.com/r/DrupalConSeattle

  30. Thank you! If you have more questions, find me at our booth, on slack, twitter or on D.O. D.O.: @michaellander Twitter: @MikeLand3r Drupal Slack: @michaellander elevated third | Denver | Raleigh | Seattle | (303) 436-9113

Recommend


More recommend