eea / volto-matomo

Matomo integration for Volto
MIT License
3 stars 1 forks source link

Track query params #35

Closed nileshgulia1 closed 1 year ago

nileshgulia1 commented 1 year ago

I noticed campaigns URLs behave a bit differently than ordinary URLs being tracked. I didn't notice a real-time update of those params hit like how usual visitors are tracked. Maybe there's a different scenarios behind how matomo deals with query params.

Screenshot 2023-07-12 at 11 36 06 PM
nileshgulia1 commented 1 year ago

related to #34

nileshgulia1 commented 1 year ago

-cc @fredvd @ericof

ericof commented 1 year ago

In the base use case, the query string parameters for campaigns (both from Matomo and from Google) are meaningful on the first access (when we should track then). After this first page view, we do not need to keep them.