Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Campaigns targeting one Matomo instance when tracking on multiple and deleting campaigns #19142

Open
M13iriam opened this issue Apr 26, 2022 · 2 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@M13iriam
Copy link

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

@M13iriam M13iriam added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Apr 26, 2022
@sgiehl
Copy link
Member

sgiehl commented Apr 26, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

4 participants