Details

    Description

      Summary

      Currently, the content recommendation feature only works using the default company (virtual instance), this story was created to support different companies to the default company in Content Recommendation. **  

      NOTE: The description of the story is almost the same as the original, we just have to use a non-default company to validate the story.

      Glossary

      • Term: a word associated with some content, either as a tag or because the content contains it.
      • Terms of interest: a set of terms that have been associated with a visitor by AC, based on his/her navigation history.
      • Visitor: is not logged into DXP (regardless if he/she has a user account) (See ---LPS-86252---)

      Initial Setup

      • A virtual instance, different from the default one must be created
      • A virtual instance, different from the default one 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)
      • Create a content tagged with a term and display it on a display page so that this term is included the information sent by the analytics client:
        • Add a display page template
        • Add a web content “Sport America News” tagged with the “sport” and “america” tag
        • Select the previously created display page template as the display page template for the content
        • See detailed steps to create a Display Page at the end.
      • Create some term-related content:
        • Web content “Olympic Games” tagged with the “sport” tag
        • Blog “Superbowl” tagged with the “america” tag
      • Create some term-unrelated content:
        • Web content “Economics” not containing any tags or words “sport”/”america”
        • Blog “Politics” not containing any tags or words “sport”/”america”
      • Create a page to display the recommended content: 
        • Create a dynamic content set (all settings default)
        • Add a “home” widget page
        • Include an Asset Publisher, and configure to use the created content set

      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

      Note: the following acceptance criteria assume that a virtual instance different to the default one and connected to AC is being used

      • Content recommendation is disabled in Collection:
        • Given the “Enable Content Recommendation” has been disabled in Collection
        • And a visitor that has viewed the content “Sport America News” in its display page
        • When the visitor visits the home page
        • Then the asset publisher shows all content (term-related and term-non-related)
      • Content recommendation is enabled in Collection and the visitor has interests:
        • Given the “Enable Content Recommendation” has been enabled in Collection
        • And a visitor that has viewed the content “Sport America News” in its display page
        • When the visitor visits the home page
        • Then the asset publisher shows only the term-related content
      • Content recommendation is enabled in Collection and the visitor has no interests (AC returns an empty set of terms of interest):
        • Given the “Enable Content Recommendation” has been enabled in the Content Set
        • And a visitor that has NOT viewed the content “Sport America News” in its display page
        • When the visitor visits the home page
        • Then the asset publisher shows all content (term-related and term-non-related)

      Creating a Display Page to visualize a Web Content with tags

      1. Go to Site Builder > Pages > Display Page Templates
      2. Create a new Display Page Template
      3. Map it to Web Content Article - Basic Web Content
      4. Add one or more fragments and map them to the fields of the basic web content
      5. Publish the Display Page Template
      6. Go to Content & Data > Web Content
      7. Add a new Basic Web Content
      8. Fill in Title and Content
      9. In the sidebar, go to Display Page Template, and select specific. Choose the display page template created in step 2
      10. Also, select some tags in Metadata for the Web Content
      11. Publish the Web Content
      12. In the kebab for the Web Content, select the option "View Content"
      13. In the source for the HTML code, search for keywords. The tags will be present

      Test Scenarios

      AC ID Test Strategy Test Scenarios Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd? (unit or integration) Poshi?
      01 Medium Having the Content recommendation not enabled in Collection, when a visitor that has viewed a content in its display page visits the home page, the asset publisher shows all content (term-related and term-non-related) NO NO   Is it possible?
      02 Critical Having the Content recommendation enabled in Collection, when a visitor that has interests and has viewed a content in its display page visits the home page, the asset publisher shows only the term-related content NO   NO Is it possible?
      03 High Having the Content recommendation enabled in Collection and in the Content Set, when a visitor that has no interests and has NOT viewed a content in its display page visits the home page, the asset publisher shows all content (term-related and term-non-related) NO  NO   Is it possible?

      Attachments

        Issue Links

          Activity

            People

              carlos.brichete Carlos Brichete Báez
              julia.molano Julia Molano
              David Arques David Arques (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  Master