How to track entry pages without the ?variables

I’m not sure if this is a bug or a feature but i’d like to be able to track page entries without the ?query string variables . Just “twitter” “facebook” etc is good enough I’d rather see the URL count as the entry page than this long string of one page things

This is a feature (as sometime the HTTP params are part of page discrimination)

On Matomo side

In the measurable / site configuration, there is this setting that you can use to exclude some parameters:

Also in the Measurable global settings:


(not sure if it will exclude the tracking of the selected HTTP params…)

During tracking

Another solution would be to change the page URL during tracking:

Standard JavaScript
See: setCustomUrl( string ) - Override the page’s reported URL


(Note: {{pageUrl}} is one of my own custom variable)