matomo-org / matomo-org/plugin-MarketingCampaignsReporting
[Bug] If custom campaign parameters are set up in the config.ini.php, Matomo detects a new visit on any non-pageview action
- Dominant language
- PHP
- Stars
- 28
- Forks
- 21
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 11
Description
If custom campaign parameters are set up in the config.ini.php and used alongside standard parameters, Matomo detects a new visit on any action (e.g. https://example.org/?mtm_campaign=test2&utm_campaign=test3 while having [MarketingCampaignsReporting]
campaign_name = "utm_campaign" in youf config.ini.php):

When commented out, actions are correctly attributed to the initial visitor:

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the visit-splitting behavior with the campaign_name setting in config.ini.php, using both mtm_campaign and utm_campaign as shown in the issue. Compare attribution for pageview and non-pageview actions with the custom parameter enabled and commented out; done means non-pageview actions remain attributed to the initial visitor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- analytics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100