The same page is displayed with different URLs in Analytics Cloud


  • If you check the Top Pages chart in Analytics Cloud, you will see that the same page can be displayed with different URLs.


  • Liferay DXP 7.0+
  • Analytics Cloud


Page metrics in AC are grouped by title and canonical URL. Pages with the same title, but different canonical URLs would lead to 2 separate entries. This creates the effect of page metrics being split into 2 entries in the Top Pages. 
For example, if you look at the login page:

  • On navigating to https://localhost:8080/web/guest , the canonical URL is https://localhost:8080/web/guest
  • On navigating to https://localhost:8080/web/guest/home, the canonical URL is still https://localhost:8080/web/guest
  • However, on clicking “Sign In”, the canonical URL then changes to https://localhost:8080/web/guest/home

Can we set up something where it can recognize the same page via different URLs (group them)?
There is no functionality within AC to group the same page with different URLs, as we group by the canonical URL instead. To view metrics grouped by the same page title, you can use the Event Analysis feature.

  1. Select the event that you would like to analyze by (e.g. pageViewed)
  2. Add a filter for the page title you would like to analyze
  3. You will see pageView events for the same page title (regardless of canonicalUrl)

Is it is possible to create customized top pages?
Unfortunately, AC does not have the functionality to customize the top pages card.

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0