Matomo (Piwik) detects URLs tagged with Google Analytics campaign parameters. By default, Matomo offers two dimensions for Campaign tracking: name, and keyword. The parameters utm_campaign, or utm_medium, or utm_source are used as the Campaign name. The parameter utm_term is used as the Campaign keyword. 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 Campaigns parameters (name, source, medium, keyword, content and campaign ID) and automatically detects the 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 string landing.html?q=test#utm_campaign=PaidSearch

Note: you can also import Google Analytics data and reports in Matomo.

Previous FAQ: How do I customize the Matomo Campaign parameters pk_campaign and pk_kwd?