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

All links within Matomo app that link to matomo.org/* should include campaign tracking parameters #10336

Closed
mattab opened this issue Jul 21, 2016 · 1 comment · Fixed by #21375
Assignees
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Jul 21, 2016

The Matomo application user interface often links to Matomo.org webpages to help users, for example by linking to the relevant user guide or FAQs. These links to matomo.org/* have a rel=noreferrer attribute, which results in that the requests from our users to Matomo.org do not have a referrer set. This protects the privacy of our users as we cannot track their Matomo Server URL using the referrer header (this was done in #3147)

Goal

We want to know, whether a given visitor of Matomo.org (or the marketplace, the developer guides, has clicked to our website(s) from a link within the Matomo application.

Proposal

  • Remove all existing campaign parameters from all links in Matomo. There are various links that have various inconsistent URL parameters. I'd suggest it's easier to remove them all to start from scratch.
  • Implement a new system that automatically adds campaign parameters to all links with this format (reading $module/$action from the URL):
    &mtm_campaign=Matomo_App&mtm_source=Matomo_App_$instanceType&mtm_medium=App.$Module.$action
  • this should apply to ideally all links visible in the UI
  • $instanceType is either OnPremise or Cloud

So for example

  • for a link on the no-data page, on premise, the format would be &mtm_campaign=Matomo_App&mtm_source=Matomo_App_OnPremise&mtm_medium=App.CoreHome.index
  • For a link on the Account Security page, on cloud, the format would be &mtm_campaign=Matomo_App&mtm_source=Matomo_App_Cloud&mtm_medium=App.UsersManager.userSecurity

As a result, team members who have access to the analytics reports will be able to see how many visits are coming from the Matomo App, and how these users behave on the website.

@mattab mattab added this to the 3.0.0 milestone Nov 11, 2016
@mattab mattab changed the title All links within Piwik app that link to *.piwik.org should include campaign tracking parameters All links within Matomo app that link to matomo.org/* should include campaign tracking parameters May 17, 2023
@michalkleiner
Copy link
Contributor

WIP PR — #21375

@sgiehl sgiehl added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
5 participants