We are using Tracking Urls to track data by our external Matomo Server
Unfortunatly the capaign medium is not tracked. Campaign is tracked, but medium is missing…
Any ideas ?
Here an example call to the Piwik Script: piwik.php?_id=bdb29c05fd7fc9ae&idsite=1&rec=1&token_auth=dcfeb39630743497f2af98e16703aadd&cdt=1712223134&cip=xxx.xxx.xxx.xxx&action_name=Test&url=https%3A%2F%2Fwww.test.de%2F%3Fmtm_campaign%3Dkopfbanner%26mtm_medium%3Dbanner%26mtm_source%3Dwebsite&urlref=&h=11&m=32&s=14&ua=Mozilla%2F5.0+%28iPhone%3B+CPU+iPhone+OS+17_3_1+like+Mac+OS+X%29+AppleWebKit%2F605.1.15+%28KHTML%2C+like+Gecko%29+Version%2F17.3.1+Mobile%2F15E148+Safari%2F604.1&lang=de&cs=utf-8&mtm_campaign=kopfbanner&mtm_medium=banner&mtm_source=website>_ms=1234&send_image=0
Hi @fun.tastico
If the request you provided is the one sent by your page during tracking, the token_auth param is not mandatory (you can track without this param, except if you need to track in past days for example).
Another thing: mtm_campaign, mtm_medium, mtm_source don’t need to be part of the tracking parameters, because they are extracted from the page URL (url).
Did you install MarketingCampaignsReporting plugin? Indeed, mtm_source and mtm_medium are usable only with this plugin.
Hi @fun.tastico
Can you check if you have any error in the Matomo error log file?
Also check in the DB if there is campaign_content, campaign_group, campaign_id, campaign_keyword, campaign_medium, campaign_name, campaign_placement and campaign_source columns in matomo_log_visit table?
Yes, if database update has not been made after update (or plugin installation / activation), some trackings can be ignored because of missing tables / column for example.
For logs:
For incomplete Matomo update / plugin update or install: