@M13iriam opened this Issue on April 26th 2022

Hi,

I posted this thread in the forum and it seems this isn't a feature yet so I was referred to here to propose it:
https://forum.matomo.org/t/multiple-matomo-instances-campaign/45489

Summary

I track a website with multiple Matomo instances and realized that when calling a site with a campaign-URL the campaign gets tracked in all instances.

It would be nice to be able to delete campaigns so you can get rid of campaigns through the usual campaign menu.
Furthermore it would be nice to be able to have a campaign target a specfic matomo instance if multiple are present on a site.

Your Environment

I have two standard Matomo instances and some custom code that targets either the first or second instance.

  • Matomo Version: 4.8
  • PHP Version: 7.3
  • Server Operating System: Linux
  • Additionally installed plugins: ---

Thanks,
Miriam

@sgiehl commented on April 26th 2022 Member

Hi @M13iriam. I don't think it's a typical use case to track one website into multiple matomo instances. But anyway, the only possibility I can see right now to achieve that is using some some custom javascript on the site to manipulate the tracked url in order to remove the campaign parameters for those trackers that shouldn't track the campaign.
Another possibility would be to use different campaign parameters on each instance. e.g. Instance one uses a parameter like pk_cmp1 and the second pk_cmp2. That way you can indirectly manage which instance it should count.

@MatomoForumNotifications commented on April 27th 2022

This issue has been mentioned on Matomo forums. There might be relevant details there:

https://forum.matomo.org/t/multiple-matomo-instances-campaign/45489/11

Powered by GitHub Issue Mirror