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

As a marketer, I want to see content performance metrics also in the context of content pages

    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 kinds of pages: DPT for all assets but also content and widget pages.

      We will include for the time being just views and traffic sources metrics, as reads might not be so useful for multi-content pages.

      Design

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

      Technical Requirements

      • Content pages will also have available the "Metrics" icon and the content performance panel:
        • The publish date shown in the panel will be the content Page’s publication date
        • The title shown in the panel will be the title of the page, or if this is not defined, the name will be used instead.
        • No author information will be visible.
        • The languages visible in the language selector will be the ones available for the site.
        • Reads metrics will NOT be visible in the Engagement area.
      • 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: 

      • Refactor of the content performance panel to accept a plid instead of the current DPT className/classPK will be needed.

       Acceptance Criteria

      • Given a content page
      • When DXP site is connected to AC
      • Then the metrics icon show in the bar above the page in the view mode

      • Given a content page
      • 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 content 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 content page 
      • When the user navigates to the second level (traffic detail)
      • Then s/he can come back to the firs level of navigation of the panel by hitting the "Back" arrow in the panel

      • Given the content performance panel of a content 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

      • Given the content performance panel of a content page
      • When the user click in the  flag selector
      • Then s/he sees all the languages available for the site where the page belongs
      • And the languages are alphabetically ordered
      • And the default language is in top of the list
      • And no Translated/Unstraslated label is shown

       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 Low When DXP is connected to AC, the metrics icon show in the bar above the content 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 content 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 content 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 content 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 content 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 content 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 content 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 content page, the traffic channels chart is shown in the content performance panel  NO NO   
      09 Medium When the user accesses to the content performance panel of a content page, the reads graph is NOT shown in the content performance panel  NO NO   
      10 Medium When the user accesses to the content performance panel of a content page, the author's field is NOT shown in the content performance panel  NO NO   
      11 Medium When the user navigates to the second level (traffic detail) in a content 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   
      12 High When the user navigates to the second level (traffic detail)in a content page, the traffic details are displayed  NO NO   
      13 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   
      14 Low When the user opens the flag selector dropdown in the panel, the languages are alphabetically ordered  NO NO   
      15 Low When the user opens the flag selector dropdown in the panel, the default language is in top of the list NO  NO   
      16 Low When the user opens the flag selector dropdown in the panel, the Translated/Unstraslated label does not appear 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