Getting PageView statistic ignoring ids (UUIDs) in the urls.

  • 22 March 2024
  • 0 replies

Let’s assume that there is a page which shows product details.

URL is https://mydomain/product/{productId}/details.

{productId} is UUID.

There are a lot of products.

I want to know how popular this page across all products (not separately for each product).

I need to build a chart which will show pages popularity ignoring any ids in the URL (aggregated statistic across all ids).


What is the best practice of doing this?

Do I need to customize PageView event when tracking it and add extra parameter e.g. NormalizedURL with all ids removed besides normal URL? Or is it possible to normilize URL when building chart itself?

0 replies

Be the first to reply!