Matomo: exclude URL parameters so one page stays one row.
Click IDs, newsletter IDs and campaign fields stick to your page URLs and split one page into many rows. Matomo removes some of them on its own. The tool puts together the list of the rest, in the format Matomo expects.
Free, no sign-up. What you enter stays in your browser.
How it works
- Choose the groups that fit your channels. What Matomo already removes does not go into the list.
- If you like, paste page URLs, for example from an export of your page reports. The tool shows which parameters they contain.
- Copy the list and enter it in Matomo, for one website or for all.
- New visits then appear without these parameters. Older reports stay as they are.
What Matomo already removes.
Matomo takes these parameters out of page URLs without any setting. Upper and lower case do not matter.
| Default list since Matomo 5.0 | gclid fbclid msclkid twclid wbraid gbraid yclid fb_xd_fragment fb_comment_id phpsessid jsessionid sessionid aspsessionid doing_wp_cron sid pk_vid ignore_referrer ignore_referer |
|---|---|
| Only in newer versions of Matomo 5 |
li_fat_id token_auth token gad_source gad_campaignid /^hsa_(acc|ad|cam|grp|kw|la|mt|net|ol|src|tgt|ver)$/ (regular expression for HubSpot's ad parameters) |
| Campaign parameters for name and keyword | pk_cpn pk_campaign piwik_campaign mtm_campaign matomo_campaign utm_campaign utm_source utm_medium pk_kwd pk_keyword piwik_kwd mtm_kwd mtm_keyword matomo_kwd utm_term |
| Also with the plugin Marketing Campaigns Reporting | mtm_cpn mtm_source pk_source mtm_medium pk_medium mtm_content pk_content utm_content mtm_cid pk_cid utm_id mtm_clid mtm_group pk_group mtm_placement pk_placement |
As of November 16, 2026, checked in the source code of Matomo 5 and the plugin. More in the Matomo FAQ on excluding URL parameters.
Frequently asked questions
Why should I exclude URL parameters in Matomo?
Every variant of an address becomes its own row in Matomo. A click ID like ttclid is different on every click, so one page spreads over hundreds of rows. Without these parameters you see the page as one row again.
Which parameters does Matomo remove on its own?
Matomo 5.0 already removes gclid, fbclid, msclkid, gbraid and wbraid among others, common session parameters and the campaign parameters for name and keyword such as utm_campaign, utm_source and utm_medium. Newer versions also remove li_fat_id and gad_source, for example; the tool puts these in the list so older installations remove them too. The full list is further up on this page.
Do I lose campaign data if I exclude utm_content or mtm_group?
No. Matomo reads the campaign fields from the address before it removes excluded parameters, just as with utm_campaign. With the plugin Marketing Campaigns Reporting, Matomo removes these fields on its own anyway.
For one website or for all?
For one website, enter the list under Websites, Manage, in the website's field "Excluded Parameters". For all websites, super users choose "Custom" for the URL parameters to exclude under Websites, Settings and paste the list there. Both apply together.
What about parameters that contain personal data?
If an address contains an email address, for example, the parameter belongs in the list in any case. With "Custom", a button below the text field adds Matomo's list of possible personal data, more than 200 names like email, name or password. The tool marks parameters from that list when you check your URLs.
Why does the line for config.ini.php also contain Matomo's own list?
Setting url_query_parameter_to_exclude_from_url in config.ini.php replaces Matomo's default list. That is why the line starts with it; otherwise gclid and the others would come back. For most people the field in the settings is the easier way.
Does the tool store my URLs?
No. The URLs are analysed in your browser only and are not sent to us or to any other server.
Clean links from the start.
Feinwerk Campaigns checks every campaign link before it is published and gets the results from Matomo or GA4. So no broken or duplicate parameters end up in your reports.