Does Matomo support Google Analytics campaign parameters (utm_campaign, utm_medium, utm_source, utm_term)?
Matomo detects URLs tagged with Google Analytics campaign parameters. By default, Matomo offers two dimensions for campaign tracking: name, and keyword.
The parameters utm_campaign
, utm_medium
or utm_source
populates the Campaign name dimension.
The parameter utm_term
populates the Campaign keyword dimension.
You can learn more about Tracking Campaigns in Matomo or head over to the URL Builder.
If you need to track more than two campaign dimensions in Matomo, for example if you want to enjoy the same campaign reporting as in Google Analytics, you can install the MarketingCampaignsReporting plugin available here on the Marketplace. The Marketing Campaigns Reporting plugin lets you track up to six campaign parameters (name, source, medium, keyword, content and campaign ID) and automatically detects these utm parameters: utm_campaign
, utm_source
, utm_medium
, utm_term
, utm_content
, utm_id
.
Advanced users:
- you may choose to customise campaign parameters detected by Matomo.
- you can use campaign parameters in the query string
landing?utm_campaign=PaidSearch
, and Matomo also detects campaign and keyword in the hash tag stringlanding.html?q=test#utm_campaign=PaidSearch
Note: you can also import Google Analytics data and reports to Matomo.