Show distinct set of URLs for pages in the Behavior -> Top Pages panel
What does this MR do and why?
Fixes issue with the top_pages visualization where page paths were mistakenly being split by hash / query param.
Paths are now grouped together, allowing you to more easily see counts for each page instead of needing to manually add them up.
The visualization schema has changed to support this, allowing links
config to recieve an array of href
dimensions, instead of just a single dimension. When multiple dimensions are provided for href (e.g. baseUrl
, pagePath
), the values are joined to create the URL.
Note: Analytics dashboard is an experimental feature hidden behind a default off feature flag
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Follow these instructions to setup Product Analytics in GDK.
- Ensure you are not running an old version of analytics devkit - need recent version that includes the baseUrl schema addition
- Onboard
Product Analytics
by setting up the feature at Project > Analytics > Analytics dashboards. - Ensure you have collected some page view events.
- Visit the Behaviour dashboard at Project > Analytics > Analytics dashboards > Behaviour.
- Verify that page paths only show a single time, and are not split by url hash or query param.
- Verify links are clickable and go to the right place.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #432491 (closed)