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

Content performance panel for all assets with display page template

    Details

      Description

      Motivation

      As for 7.3 we've developed what can be considered an MVP for content performance (metrics for display page templates of web content), now we are aiming to retrieve and display these metrics for all display page templates, except for blogs (that is: documents). 

      We will include for the time being just views and traffic sources metrics, as reads is not an available metric for documents.

      Design

      https://www.figma.com/file/g08bbwJpuQjt96PHVSbpgM/LPS-119961-see-Content-Performance-Analytics-for-all-types-of-pages 

      Technical Requirements

      • Documents' and products' DPTs will have also available the "Metrics" icon and the content performance panel:
        • The publish date will be the more recent date between the Content creation date and the date of the display page template link with the web content. If the Web Content is created and published with the default DPT, the the shown publish date will be that of the web content creation (see LPS-128746)
        • The title shown in the panel will be the title of the Content.
        • No author information will be visible for documents and blogs
        • The languages visible in the language selector will be the ones available for the site.
        • Reads metrics will NOT be visible in the Engagement section for documents and blogs
      • Specifications for language selector are in LPS-126044
      • As it was established in LPS-113835, users with two conditions fulfilled: permissions to edit content OR permissions to edit the page will have access to the panel

      NOTE: knowledge base articles and commerce products don't currently support DPT but they might for 7.4, so development should, if possible, consider this future requirement.

       Acceptance Criteria

      • Given a document or blog or product DPT
      • When DXP site is connected to AC
      • Then the metrics icon show in the bar above the page in the view mode

      • Given a document or blog or product DPT
      • When the user hits the metrics icon shown in the bar above the page in the view mode
      • Then the content performance panel displays

      • Given the content performance panel of a document or blog or product's display page
      • Then the name and URL of the page, the language and interval selector, the views graph and the traffic channels chart show, but not the author's field nor the reads metrics

      • Given the content performance panel of a document or blog's or product's display page
      • When the user navigates to the second level (traffic detail)
      • Then s/he can come back to the first level of navigation of the panel by hitting the "Back" arrow in the panel

      • Given the content performance panel of a document or blog or product's display page
      • When the user changes the language using the flag selector in the panel and so the URL
      • Then s/he sees the metrics corresponding the canonical URL that corresponds to the language selected

       Test Scenarios (Document display page)

      AC ID Test Strategy Test Scenarios Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd? (unit or integration) Poshi?
      01 Low When DXP is connected to AC, the metrics icon show in the bar above the document display page in the view mode  NO  NO  
      02 Medium When DXP is not connected to AC, the metrics icon is not shown in the bar above the document display page in the view mode NO   NO  
      03 Low When DXP is just connected to AC and the user clicks on the metrics icon in a document display page, the content performance panel displays with a message to sync DXP with AC NO   NO  
      04 High When DXP is connected and synced to AC and the user clicks on the metrics icon in a document display page, the content performance panel displays with the metrics of the content page  NO NO   
      05 Medium When the user accesses to the content performance panel of a document display page, the name, the URL of the page and the language selector are shown in the content performance panel  NO  NO  
      06 Medium When the user accesses to the content performance panel of a document display page, the date interval selector is shown in the content performance panel, with 7 days selected as default  NO  NO  
      07 Medium When the user accesses to the content performance panel of a document display page, the views graph is shown in the content performance panel  NO  NO  
      08 Medium When the user accesses to the content performance panel of a document display page, the traffic channels chart is shown in the content performance panel NO   NO  
      09 Medium When the user navigates to the second level (traffic detail) in a document display page, s/he can come back to the firs level of navigation of the panel by hitting the "Back" arrow in the panel  NO NO   
      10 High When the user navigates to the second level (traffic detail) in a document display page, the traffic details are displayed  NO NO   
      11 Medium When the user changes the language using the flag selector in the panel and so the URL, the metrics corresponding the canonical URL that corresponds to the language selected are shown  NO  NO  

       Test Scenarios (Blog display page)

      AC ID Test Strategy Test Scenarios Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd? (unit or integration) Poshi?
      01 Low When DXP is connected to AC, the metrics icon show in the bar above the blog display page in the view mode  NO  NO  
      02 Medium When DXP is not connected to AC, the metrics icon is not shown in the bar above the blog display page in the view mode  NO NO   
      03 Low When DXP is just connected to AC and the user clicks on the metrics icon in a blog display page, the content performance panel displays with a message to sync DXP with AC  NO  NO  
      04 High When DXP is connected and synced to AC and the user clicks on the metrics icon in a blog display page, the content performance panel displays with the metrics of the content page NO   NO  
      05 Medium When the user accesses to the content performance panel of a blog display page, the name, the URL of the page and the language selector are shown in the content performance panel  NO  NO  
      06 Medium When the user accesses to the content performance panel of a blog display page, the date interval selector is shown in the content performance panel, with 7 days selected as default NO   NO  
      07 Medium When the user accesses to the content performance panel of a blog display page, the views graph is shown in the content performance panel  NO  NO  
      08 Medium When the user accesses to the content performance panel of a blog display page, the traffic channels chart is shown in the content performance panel  NO  NO  
      09 Medium When the user navigates to the second level (traffic detail) in a blog display page, s/he can come back to the firs level of navigation of the panel by hitting the "Back" arrow in the panel  NO  NO  
      10 High When the user navigates to the second level (traffic detail) in a blog display page, the traffic details are displayed  NO  NO  
      11 Medium When the user changes the language using the flag selector in the panel and so the URL, the metrics corresponding the canonical URL that corresponds to the language selected are shown  NO  NO  

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-qa Support QA
              Reporter:
              julia.molano Julia Molano
              Engineering Assignee:
              Cristina Gonzalez
              Recent user:
              Rafaela Nascimento
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.0 CE GA1 DXP 7,4
                  Master