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

Behaviour when receiving both UTM and MTM parameters is not documented #21516

Open
danielhug-cc opened this issue Nov 10, 2023 · 2 comments
Open
Labels
c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base.

Comments

@danielhug-cc
Copy link

How does Matomo behave when user visits https://www.example.com?mtm_campaign=campy&utm_source=sourcy
(German forum discussion here.)

In the case of mixed MTM and UTM parameters, what is saved in raw data, and what is used for reports?

There are a few variations possible:

  1. Overlapping parameters, such as both MTM and UTM campaign or source parameter
  2. Mixed, but not overlapping, such as MTM campaign and UTM source, as in above example
  3. Some overlapping, some not
  4. Does the order play a role?

Documentation might require a new page or fit somewhere here:
https://matomo.org/faq/reports/common-campaign-tracking-use-cases-and-examples/

@danielhug-cc danielhug-cc added the To Triage An issue awaiting triage by a Matomo core team member label Nov 10, 2023
@MatomoForumNotifications

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

https://forum.matomo.org/t/wie-ist-das-wenn-eine-url-utm-und-mtm-enthalt/53855/6

@michalkleiner
Copy link
Contributor

Hi @danielhug-cc, having a quick look it seems the mtm_ params take priority over utm_ params, so if you use both mtm_campaign and utm_campaign with different values the mtm_campaign value will be used. If you mix campaign and source one with mtm and one with utm prefix, that will work fine, the first one for the given property (name, source, keyword, medium etc) is used.
I'll pass it for prioritisation on updating an FAQ or creating a new one on this topic.

@michalkleiner michalkleiner added c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base. and removed To Triage An issue awaiting triage by a Matomo core team member labels Nov 23, 2023
@michalkleiner michalkleiner added this to the For Prioritization milestone Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Documentation For issues related to in-app product help messages, or to the Matomo knowledge base.
Projects
None yet
Development

No branches or pull requests

3 participants