Details

      Description

      How to test it

      • Liferay connected to AC
      • In System Settings > Pages > SEO, set Canonical URL to "Use Localized URL"
      • Add configuration file enabling reads to your osgi/config folder (attached) Not needed anymore.
      • Use https://analytics-js-dev-cdn.liferay.com/ as Analytitics CDN
      • Design > Page Templates > Display Page Templates > Create a Display Page template for Web Content Article (Basic web content)
      • Modify Display Page Template Layout:
        • Add a heading and map it to the title field
        • Add a paragraph and map it to the content field
      • Mark Display page template as default
      • Site Builder > Pages > Create Page with an asset publisher
      • Content & Data > Web content > Create a basic web content with at least title and content
      • Navigate to the recently created page
      • Click on the recently created web content Article
      • Checkpoint: The display page template with the article is shown and the metrics icon is shown at the top right of the page 
      • Visit the page with different liferay users
      • Check that the pageRead event is been emitted (it takes a bit depending on the size of the actual text)
      • Wait till AC has computed the visits
      • Now:
        • a) Wait 1 day till DXP shows the results
        • b) Change your system date to tomorrow
      • Check the total views and reads

      Test Scenarios

      See https://issues.liferay.com/browse/LPS-112169 (implementation of reads)

      See https://issues.liferay.com/browse/LPS-108068 (error handling)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              carlos.brichete Carlos Brichete Báez
              Reporter:
              julia.molano Julia Molano
              Engineering Assignee:
              Carlos Brichete Báez
              Recent user:
              Carlos Brichete Báez
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master