-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to not trigger trackPageView if I change query params in the url. #72
Comments
Hi @p-aron You can configure your Matomo server, see the official help. But if you want to configure it client-side, I think there is no easy way to do what you want currently. But good news is it could be easily implemented! Long answer :
Short answer :
This can probably be implemented soon, but it would be great if you would like to open a PR for one or each of those two points! |
Hi @p-aron, is your issue solved? |
hello,
My understanding is that distinctUntilKeyChanged('urlAfterRedirects') is not working as the code writer expected. |
@p-aron you're right, that was my point 2. I will take a look on how to fix it, but don't hesitate to create a PR if you have some time! Thanks |
Next week I might have some time to understand the code better. Thank you very much! |
…ccording to custom url comparator EmmanuelRoux#72
This introduces a new option to ignore subsequent navigations to the _same_ url, according to a custom url comparator. This allows, for example, ignoring navigations triggered by only changing query params. closes #72
# [6.2.0](v6.1.3...v6.2.0) (2024-05-28) ### Bug Fixes * **tracker:** add default value for `acceptDoNotTrack` option ([243fc46](243fc46)) * upgrade schematics to non-deprecated module names ([946ef9f](946ef9f)) ### Features * add compatibility with Angular 18 ([7828aed](7828aed)), closes [#90](#90) * add FormAnalytics support ([ccdcfac](ccdcfac)) * **router:** allow ignoring subsequent navigation to the same url ([#89](#89)) ([1cb504c](1cb504c)), closes [#72](#72) * **tracker:** add new `disableCampaignParameters` configuration option ([88258fa](88258fa)) * **tracker:** add new `disableCampaignParameters` tracker method ([4cfda65](4cfda65))
🎉 This issue has been resolved in version 6.2.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Hello. I change a query param in the url and it triggers a NavigationEnd in the angular router, and the MatomoTracker makes a trackPageView. Is there any way to filter out these events?
The text was updated successfully, but these errors were encountered: