10000 [Bug] `mtm_keyword` and `pk_keyword` are not recognized · Issue #23289 · matomo-org/matomo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug] mtm_keyword and pk_keyword are not recognized #23289
Open
@niksauer

Description

@niksauer

What happened?

While

'mtm_keyword', 'matomo_kwd', 'mtm_kwd', 'pk_keyword', 'piwik_kwd', 'pk_kwd', 'utm_term', // campaign keyword
defines a list of URL params used for the campaign keyword, our testing has shown that the ones suffixed with _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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugSomething that might be a bug, but needs validation and confirmation it can be reproduced.triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0