Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-86252

As an Inbound Marketer, I want to personalized content for visitors based on past behaviour

    Details

      Description

      Motivation:

      One of the challenges of personalizing a public website is that most visitors are not authenticated. One way of targeting them is by using their behavior. Businesses need a way to personalize content based on what a visitor has seen, downloaded, or submitted.

      Glossary:

      • User: has logged into DXP using his/her user account.
      • Visitor: is not logged into DXP (regardless if he/she has a user account)

      Initial setup:

      • A Liferay DXP must be configured as a Liferay Data Source in Analytics Cloud (https://help.liferay.com/hc/en-us/articles/360006653472-Adding-a-Liferay-DXP-Data-Source)
      • A public page “home” has been created on DXP
      • A marketer has created a segment “Recent home visitors” on Analytics Cloud to target visitors who has viewed “home” page within the last 24 hours.
      • A marketer has created a content page “promotion” with an Experience “Recent visitors” for the “Recent home visitors” segment, including some page customization with respect to the default experience.

      Technical considerations:

      • It takes up to X mins since a visitor performs an action on DXP and he is segmented by his behavior on Analytics Cloud. Take this into account for the tests.
      • The anonymous user identification is preserved even if the browser is closed, as long as the visitor does not log out or the browser local storage is not cleared.

      Acceptance Criteria:

      • Show personalized content for previous visitors
        • Given a visitor that has viewed the home page within the previous 24 hours
        • When he visits the “promotion” page
        • Then the customizations for the “recent visitors” experiences are shown.
      • Show default experience for new visitors
        • Given a visitor who has not viewed the home page within the previous 24 hours
        • When he visits the “promotion” page
        • Then the content of the default experience is shown.
        • Segments information show the members count including visitors
        • Given the “Recent home visitors” AC segment is listed on the Segments Admin list
        • When the marketer access the segment information
        • Then the member count reflects the same count as in AC-
      • Show personalized content for previous visitors after reopening the browser
        • Given a visitor that has viewed the home page within the previous 24 hours
        • When he visits the “promotion” page
          • And if he closes the browser
          • And opens the “promotion” page again
        • Then the customizations for the “recent visitors” experiences are shown.
      • Show personalized content for previous visitors after logging in
        • Given a visitor that has viewed the home page within the previous 24 hours
          • And has a user account
        • When he visits the “promotion” page
          • And logs in
          • And opens the “promotion” page again
        • Then the customizations for the “recent visitors” experiences are shown.
      • Show default experience content for previous visitors after logging out
        • Given a visitor that has viewed the home page within the previous 24 hours
          • And has an user account
        • When he logs in
          • And visits the “promotion” page
          • And logs out
          • And opens the “promotion” page again
        • Then the content of the default experience is shown.
      • Show default experience content for previous visitors after clearing browser local storage
        • Given a visitor that has viewed the home page within the previous 24 hours
        • When he visits the “promotion” page the navigator local storage is cleared
        • Then the content of the default experience is shown.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  Master