Personalizing Experiences for Clarity’s Users

Personalized website experiences can help keep Clarity’s visitors engaged and ultimately lead to more sales. Liferay provides different tools to help you understand who your customers are and optimize your site to increase engagement. Clarity can use these tools in combination with Analytics Cloud.

This article the following suite of features:

  • Segmentation management
  • Personalized experiences
  • A/B testing

Segmentation Management

The first step towards personalization is identifying your user segments. Once identified, you can create these segments in Liferay using Liferay’s intuitive rule builder that defines segments based on

  • User
  • Organization Attributes
  • Session Properties
  • Custom Fields

Define segments using Liferay's rule builder.

This rule builder uses semantic building blocks, meaning you can define segments by constructing sentences that describe the criteria. There are several predefined segmentation rules that you can use, and Liferay also supports the creation of custom fields that you can build rules around. You can also build new segments by combining existing segments, enabling more specific, focused user experiences.

Use predefined or custom criteria to create your own segments.

Segmentation integrates with Liferay Analytics Cloud, which adds support for long-time behavior and third party data (e.g., Salesforce). In addition to the visual user interface, you can also use headless APIs to create custom properties for segmentation.

Once your segments are defined, they are available for use alongside Liferay’s page and content management features.

Personalized Experiences

When designing pages, you can create page variations for different segments. In Liferay, these variations are called experiences. This enables you to customize displays that are more relevant to each group. In fact, you can personalize almost any element of a page, from images and text to fragments and navigation. Additionally, you can create rules that cater to specific breakpoints, such as screen size.

Creating experiences out of segments is an intuitive, non-intrusive part of the site building and content management interfaces that Liferay provides.

You can create page variations for different user segments.

Sometimes, we have more than one idea on how to engage a certain audience, but we aren’t sure which option is best. This is where A/B testing comes into play.

A/B Testing

With A/B testing, you can make two variants of a site page and compare the click rate or bounce rate of the two pages. Some visitors see one version, while another group sees the alternative. You can test the performance of the two variants and determine which is better for your customers.

You can run A/B tests to identify the most effective page variant.

The tight integration between Liferay DXP and Analytics Cloud means setting up A/B tests, tracking results, and publishing variants is simple. Liferay provides a UI for non-technical users to administer A/B tests with granular control over the test configuration and criteria. The tests are automatically synchronized with Liferay Analytics Cloud, which provides you with test history, statistics, variant performance benchmarks, and more.

In the short term, Clarity can use this feature to determine the best content and click-through path for driving distributors to complete the application process. In the long term, considering their plans for B2C, they can use A/B tests to determine the best promotions or product discovery routes to help customers go from interest to purchase as efficiently as possible. These are a few ways in which A/B testing can help you optimize your business.

Exercise: Tailoring Experiences by User Group and Role

Segmentation involves grouping website visitors and users into categories based on shared characteristics or behaviors. Segmenting your audience allows you to tailor the website experience, delivering more relevant content and ultimately boosting engagement.

Here, you’ll create a segment specifically for Distributor users as the Clarity Admin user.

To do this,

  1. Sign in as the Clarity Admin user.

    • Email: admin@clarityvisionsolutions.com
    • Password: learn
  2. Add a new user with the following attributes.

    FieldValue
    Screen Nameterrencewheatley
    Email Addressterrence.wheatley@distributor.com
    Job TitleDistributor
    First NameTerrence
    Last NameWheatley
    Passwordlearn
  3. Create a new user group called Distributors.

  4. Add Terrence Wheatley to the group.

  5. Create a new regular role called Distributor.

  6. Assign the role of Distributor to the Distributors User Group.

  7. Open the Site Menu (Site Menu), expand People, and select Segments.

  8. Click New to create a segment.

  9. For title, enter Distributors.

  10. From the Properties menu, use the User section and drag the Regular Role into the main part of the screen.

  11. Leave the condition as equals and use the Select button to choose the Distributor role.

  12. From the Properties menu, use the User section and drag the User Group into the main part of the screen.

  13. Leave the condition as equals and use the Select button to choose the Distributors user group.

  14. Change the conjunction to Or.

    We cover both scenarios here: users in the user group and those with the directly assigned Distributor role.

    Set the regular role to Distributor and the user group to Distributors.

  15. Click View Members to validate Terrence Wheatley meets the segment condition.

  16. Click Save.

  17. Go to the home page and click Edit (Edit).

  18. Click the Experience drop down at the top of the page and choose New Experience.

  19. For the Experience Name enter Distributor.

  20. For the Audience, choose the Distributors option.

  21. Click Save.

  22. Use the up arrow on the Distributor row to position the segment above the Default item so that the Distributor entry shows first.

    Note

    The experience order determines their priority. Internally, Liferay checks the segments a user belongs to and uses the match with the highest priority.

    Once the Distributor role is re-positioned, the label on the record should now read Active.

  23. Modify the title text in the Banner to say Welcome Back! Elevate Your Inventory with Premium Eyewear.

  24. Hide the Distributor Promo container, since distributors don’t need to apply.

  25. Click Publish.

  26. You can test the different experiences using the Simulation (Simulation) menu.

  27. Choose to Preview By Segments. Then, use the Segment dropdown menu to toggle between Anyone and Distributor and view the corresponding changes in the main window.

  28. Impersonate Terrence Wheatley to see the changes.

Conclusion

Congratulations! You’ve completed Module 7: Analytics and Personalization. Throughout this module you’ve learned how you can leverage Liferay analytics and personalization features to improve user experience.

In the next module, you’ll learn about using headless APIs to interact with Liferay applications and resources.

Up Next: Module 8: Headless APIs

Additional Resources

See official documentation to learn more about personalization and segmentation:

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy