Legacy Knowledge Base
Published Jun. 30, 2025

The same page is displayed with different URLs in Analytics Cloud

Written By

Tímea Bihari

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

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

Environment

  • Liferay DXP 7.0+
  • Analytics Cloud

Resolution

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.

Did this article resolve your issue ?

Legacy Knowledge Base