Open
Description
What happened?
While
Line 2317 in e3e609e
_keyword
are not recognized by the JS tracker and thus, do not end up in the pk_ref
cookie used for attribution. We worked around this by changing everything to mtm_kwd
instead.
What should happen?
mtm_keyword
and pk_keyword
should get recognized as campaign keyword URL params.
How can this be reproduced?
Construct and visit a URL like https://example.com/?pk_campaign=onboardingemail&pk_keyword=billing
in a private browser window. Note that only the pk_campaign
ends up in the pk_ref
cookie. Repeat the process with pk_kwd
instead. It will be recognized.
Matomo version
5.3.1
PHP version
8.3.19
Server operating system
Alpiine
What browsers are you seeing the problem on?
Chrome
Computer operating system
macOS 15.4.1
Relevant log output
Validations
- Read our Contributing Guidelines.
- Follow our Security Policy.
- Check that there isn't already an issue that reports the same bug to avoid creating duplicates.
- The provided steps to reproduce is a minimal reproducible of the Bug.