Free tool
Matomo URL builder
Paste your link, fill in the Matomo campaign parameters (mtm_campaign, mtm_source, mtm_medium…), check the final URL and shorten it in one go.
Matomo campaign parameters
| mtm_campaign | Required | The campaign name, e.g. autumn-sale. Groups every visit of the operation. |
| mtm_source | Recommended | Where the visitor comes from: newsletter, linkedin, poster. |
| mtm_medium | Recommended | The kind of channel: email, social, qr, cpc. |
| mtm_keyword | Optional | A keyword, mostly for paid search. |
| mtm_content | Optional | Tells two links of the same campaign apart, e.g. blue-button. |
| mtm_cid, mtm_group, mtm_placement | Advanced | Campaign ID, audience and placement, if your reports use them. |
Example of a Matomo tracking URL:
https://your-site.com/offer?mtm_campaign=autumn-sale&mtm_source=newsletter&mtm_medium=email
Questions
What is the difference between mtm_ and utm_ parameters?
mtm_ is Matomo's own format. Matomo also reads Google's utm_ parameters (and the older pk_campaign / pk_kwd), so use mtm_ if Matomo is your only tool, or utm_ if the same links must also feed Google Analytics.
Which Matomo parameter is mandatory?
Only mtm_campaign. Without it, Matomo does not attribute the visit to a campaign. Source and medium make reports much more useful.
Where do I see the results in Matomo?
In Acquisition › Campaigns (campaign names, sources, mediums). The campaign parameters are read from the landing page URL, so they must stay in the destination: the short link keeps them intact.
Is this Matomo link builder free?
Yes, with no account and no limit on the number of links. Every destination is also checked against Google Safe Browsing.
Need Google Analytics, Piano or Adobe parameters instead? Use the UTM builder.