Hello Matomo team,
We are currently using the feature of "Exclude querystring parameters" and that is helping to a certain extent.
However it doesn't handle the MVC based URLs like mentioned in this link -
We were able to handle them using the "setCustomURL" for the module where it is a single page based, but for the native pages, it cannot be used as we just call "trackpageview" and nothing else.
Reaching out to you to seek any thoughts on how to handle such instances.
Few additional examples:
Thanks in advance.
Thanks for the feature request 👍 If you are familiar with PHP you could write a plugin that is listening to the
Tracker.isExcludedVisit event. You could then get
$request->getParam('url') and based on that info set
$excluded = true in a custom plugin depending on the tracked URL.
The alternative be to add custom url parameters for those pages too using
@tsteur , thanks a lot for the guidance. However our requirement is not to exclude the visit altogether, but we wanted to remove the "120" and "12" (id's) from the tracking URL, for the example mentioned above. Is that possible to do so?