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

As a marketer, I want to see content performance metrics also in the context of widget 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

      • Widget 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

       Acceptance Criteria

      • Given a widget page in a DXP instance
      • Then the metrics icon show in the bar above the page in the view mode

      • Given a widget page in a DXP instance
      • When the DXP site is connected and synced to AC and 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 widget 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 widget 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, and the URL and the title of the page in the panel are shown in the selected language

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

       h1.  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 widget 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 widget 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 widget 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 widget 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 widget 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 widget 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 navigates to the second level (traffic detail) in a widget 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   
      08 High When the user navigates to the second level (traffic detail)in a widget page, the traffic details are displayed  NO NO   
      09 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   
      10 Low When the user opens the flag selector dropdown in the panel, the languages are alphabetically ordered  NO NO   
      11 Low When the user opens the flag selector dropdown in the panel, the default language is in top of the list NO  NO   
      12 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

              support-qa Support QA
              julia.molano Julia Molano
              Cristina Gonzalez Cristina Gonzalez
              Sophia Zhang Sophia Zhang
              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
                  7.4.13 DXP GA1
                  Master