Altamash Shaikh
Altamash Shaikh
@Madriix Sorry we didn't understand your request ? Can you please add some examples ?
> Fix would be something like this, don't have the time to checkout and run the minifier properly at the moment. [karlsve/[email protected]](https://github.com/karlsve/tag-manager/compare/5.x-dev...patch-1) @karlsve Thanks for the patch, we would still...
@peterbo I tried replicating the same on my local instance and seems to work as expected URL: `http://localhost.demo.com/test.html?mtm_campaign=test2&utm_campaign=test3` Config ``` [MarketingCampaignsReporting] campaign_keyword = "mtm_keyword,matomo_kwd,mtm_kwd,utm_term" campaign_source = "mtm_source,utm_source" campaign_medium = "mtm_medium,utm_medium"...
@peterbo Still works as expected for me. 
@peterbo My local URL is `http://localhost.demo.com/test.html?mtm_campaign=test2&utm_campaign=test3` and it seems to pickup `mtm_campaign` query params, due to `campaign_var_name` config setting I assume. ``` campaign_var_name = "pk_cpn,pk_campaign,piwik_campaign,mtm_campaign,matomo_campaign,utm_campaign,utm_source,utm_medium" ```
@peterbo I just tested this scenario for a Matomo Cloud instance and I can confirm I see test2 as the referer_name always
@peterbo I was able to reproduce this one and seems to resolve if I update the config as below ``` [MarketingCampaignsReporting] campaign_name = "mtm_campaign,matomo_campaign,mtm_cpn,pk_campaign,piwik_campaign,pk_cpn,utm_campaign" campaign_keyword = "mtm_keyword,matomo_kwd,mtm_kwd,utm_term" campaign_source = "mtm_source,utm_source"...
@peterbo I was able to figure out the issue, In [core](https://github.com/matomo-org/matomo/blob/5.x-dev/core/Common.php#L1028) to detect `referer_name`, we use the `campaign_var_name` config under `Tracker` and in MarketingCampaignsReporting we are using the `campaign_name` config...
@peterbo This needs a fix in Matomo core, I will try to send a PR, meanwhile to tackle the issue, you can update the config as below ``` [MarketingCampaignsReporting] campaign_name...
@peterbo The fix won't work in 100% case and it actually be fixed by https://github.com/matomo-org/matomo/issues/20067