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

Top referring sites & domains (referral traffic detail)

    Details

      Description

      Motivation

      When the volume of traffic from other sites linking to the page is significant, it might be an indicator of a successful content strategy. Content authors and marketers spend part of their time on link building, that is, the process of acquiring links from other websites to theirs. As in the full traffic chart the total traffic volume for this source in a given period of time is provided, the detail page will offer the full list of both top referring sites and top referring pages sending traffic to the analyzed URL.

      Design

      https://www.figma.com/file/e1UMNaN6YxiplCb9DThC4u/LPS-108945-backlinks-second-level-ideation?node-id=0%3A1

      Technical Requirements

      • Top referring sites & pages will show:
        • An interval dropdown selector with Last 7 days and Last 30 days options. This selector will persist the selection that the user has done in the first level.
        • a list of the 10 top-referring pages from external to site's domains with traffic volume (views, as implemented in LPS-118107). A page is a canonical URL, that is, not the full URL with the variant parameters.
        • a list of top 5 referring domains (should include subdomains and domains different from the same site* ), that is, the five external domains sending most traffic to the analyzed URL in the requested period of time
      • To build both lists, DXP should retrieve from AC the 100 URLs sending more traffic for that period of time (excluding search engine sites', social sites' and internal to domain's URLs - see LPS-118107). In case AC has the information separately (top pages / top domains), DXP will retrieve from AC the 30 top-referring pages and the 30 top-referring domains (not considering only the top 30 pages)

      TOP REFERRING PAGES section:

      • Info icon will show a tooltip when hovering: Top Referring Pages shows the top 10 pages external to your site sending more traffic to this page.
      • List will show the URL truncated, and a tooltip with the full URL when hovering
      • When clicking on the URL, the target page will open in a new tab
      • The table will have a dropdown selector to switch between Traffic volume and Traffic Share
      • Only 5 links will be shown at the beginning; the rest of them will be displayed when clicking on a View More link under the list, and can be hidden when clicking on a View less link

      TOP REFERRING DOMAINS section: 

      • Info icon will show a tooltip when hovering: Top Referring Domains shows the top 10 domains sending more traffic to this page.
      • List will show the URL truncated - if needed-, and a tooltip with the full URL when hovering
      • When clicking on the URL, the target page will open in a new tab
      • The table will show Traffic volume sent per for each domain
      • Only 5 links will be shown at the beginning; the rest of them will be displayed when clicking on a View More link under the list, and can be hidden when clicking on a View less link

      *NOTE. We are assuming that AC can identify the same site's URLs. But, as a site can have several domains (configured by language), there are two options:

      • Identify same site's URLs by subdomain, so all referral pages sending traffic from the same subdomain are considered internal links
      • Identify same site's URLs as referral pages belonging to the synced site in AC (we have to double check if this is still so when there are different domains for the same site)

      Acceptance Criteria 

      • Given the referral traffic link in the full traffic pie chart in the content performance panel
      • When the user clicks on it
      • Then s/he's led to the detail page, and the interval selector, traffic volume and traffic share remain the same they were in the first level

      • Given the detail page of the referral traffic in the content performance panel
      • When the user lands
      • Then s/he's can see the list of 5 top-referring pages under the TOP REFERRING PAGES section and the 5 top-referring domains under the TOP REFERRING DOMAINS section

      • Given the lists both of TOP REFERRING PAGES and TOP REFERRING DOMAINS
      • When the user clicks on the View more link below any of them
      • Then the ** hidden ** 5 top-referring pages or domains display 

      • Given the lists both of TOP REFERRING PAGES and TOP REFERRING DOMAINS full displayed
      • When the user clicks on the View less link below any of them
      • Then the ** displayed ** 6-10 top-referring pages or domains hide

      • Given the lists both of TOP REFERRING PAGES and TOP REFERRING DOMAINS 
      • The ** traffic volume in views is shown for each one of them

      • Given the list of TOP REFERRING PAGES
      • When the sum of the visits from several different full URLs that have the same canonical URL is a bigger number than the visitors driven to the page from another single URL
      • Then the canonical URL of the matching full URLs will show in the list 

      • Given a site in DXP
      • When there are different domains per locale configurated
      • Then visitors from such domains / URLs won't appear in the lists 

      • Given the TOP REFERRING PAGES and TOP REFERRING DOMAINS sections
      • When the user hovers in the help icon
      • Then the matching tooltip is displayed

      • Given the URL lists in TOP REFERRING PAGES and TOP REFERRING DOMAINS sections
      • When URLs are too long
      • Then they will show as truncated and the full URL / domain will show when hovering

      • Given the URL lists in TOP REFERRING PAGES and TOP REFERRING DOMAINS sections
      • When user clicks on a URL
      • Then the page will open in a new tab (in the case of domains, it will always try to open https://domain)

      -- 

      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 When the user clicks on the referral traffic link in the full traffic pie chart, s/he's led to the detail page, and the interval selector, traffic volume and traffic share remain the same they were in the first level YES  NO  
      02 Low When the user lands on the detail page of the referral traffic link, s/he's can see the list of 5 top-referring pages under the TOP REFERRING PAGES section and the 5 top-referring domains under the TOP REFERRING DOMAINS section YES   NO  
      03 Low When the user clicks on View more link below TOP REFERRING PAGES and TOP REFERRING DOMAINS, the hidden 5 top-referring pages or domains display YES  NO  
      04 Low When the user clicks on View less link below TOP REFERRING PAGES and TOP REFERRING DOMAINS, the displayed 6-10 top-referring pages or domains hide YES  NO  
      05 High The traffic volume in views is shown for each TOP REFERRING PAGES and TOP REFERRING DOMAINS listed YES  NO  
      06 Medium When the sum of the visits from several different full URLs that have the same canonical URL is a bigger number than the visitors driven to the page from another single URL, the canonical URL of the matching full URLs will show in the list N/A N/A   
      07 Medium When there are different domains per locale configured, visitors from such domains / URLs won't appear in the lists NO  NO  
      08 Low When the user hovers in the help icon within the TOP REFERRING PAGES and TOP REFERRING DOMAINS, the matching tooltip is displayed NO  NO  
      09 Low When the URLs listed in TOP REFERRING PAGES and TOP REFERRING DOMAINS are too long, they will show as truncated and the full URL / domain will show when hovering NO  NO  
      10 High When the user clicks on a URL listed in TOP REFERRING PAGES and TOP REFERRING DOMAINS, the page will open in a new tab (in the case of domains, it will always try to open https://domain) NO NO   

        Attachments

          Issue Links

          1.
          [Front] Create second level (detail) for referral LPS-123917 Technical Task Closed Product Team Frontend Infrastructure  
          2.
          [Front] Refactor Content Performance navigation to detail view for preparing second level for Referral and Social traffic channels LPS-124133 Technical Task Closed Product Team Frontend Infrastructure  
          3.
          Add feature flag to enable/disable details LPS-124181 Technical Task Closed David Arques (Inactive)  
          4.
          [Front] Refactor useChartState to be able to use it within main and detail views LPS-124200 Technical Task Closed Product Team Frontend Infrastructure  
          5.
          [Back] Create traffic source detail representation for REFERRAL traffic LPS-124252 Technical Task Closed Brian Chan  
          6.
          [Front] Use new custom hooks in ReferralDetail to share TimeSpanSelector state between main and detail view LPS-124253 Technical Task Closed Product Team Frontend Infrastructure  
          7.
          [Front] Add missing View More/View Less button to referring domains and hide if we have less than 5 URLs LPS-124417 Technical Task Closed Product Team Frontend Infrastructure  
          8.
          Test Scenarios Coverage | Test Creation LPS-124389 Technical Testing Closed Carlos Brichete Báez  
          9.
          Test Scenarios Coverage | Backend LPS-124390 Technical Testing Closed David Arques (Inactive)  
          10.
          Test Scenarios Coverage | Frontend LPS-124391 Technical Testing Closed Brian Chan  
          11.
          [Back] Show 10 top referring pages/domains sorted in descending order by traffic amount LPS-124656 Technical Task Closed Brian Chan  
          12.
          Product QA | Test Validation - Round 1 LPS-124740 Technical Testing Closed Joseph Pak  
          13.
          Product QA | UX Validation - Round 1 LPS-124741 Technical Testing Closed Susana Vázquez  
          14.
          Tests Automation LPS-124742 Technical Testing Closed Carlos Brichete Báez  
          15.
          Change top referral help messages accordingly to the actual number of pages/domains (10) LPS-124743 Impedibug Closed Brian Chan  
          16.
          Wrong styles and text color in detail view LPS-124747 Impedibug Closed Product Team Tango  

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.3.6 CE GA7
                  7.3.X
                  Master