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
Content tracking doesn't track interaction correctly when using multiple trackers but track as outlink #12227
Comments
I am running into the same problems. But this only happens when previously hidden elements are shown. Only the last element of the set of elements which is shown never gets an impression or an interaction. The other elements get a replacement of the url with the piwik redirect url. The last one does not. @tsteur did you find a solution? |
Not yet, we should definitely remove the |
Would you completely remove the feature you mean from the Tracker (which could be useful for other use cases like #6180 and tracking Ads clicks), or more simply "make content interaction tracking send a beacon instead of forcing people through the redirect" (which sounds very good)? |
Yes we would send regular tracking request which falls back to beacon automatically anyway. It'll be still faster than any redirect through Matomo ;) |
definitely 👍 Ideally we would not redirect any call through Matomo as it's too slow & risky. added to 3.10.0 but we could move it back to 3.11.0 later see also the issue closed as duplicate #7782 |
is this fixed now? the original ticket is from 2015. I have the same issue atm, where a link was changed to the https://matomo_root/piwik.php/?redirectUrl=... can this be prevented somehow? thanks |
We will fix this as part of Matomo 4 at the latest as part of #6265 |
Content tracking does currently replace the link in the
a.href
when clicking on it (when the link is supposed to be tracked as an interaction). This means we will first load egpiwik.php?redirect_url=...
which then goes to the actual redirect_url. This redirect will track the interaction happened.However, when there are 2 trackers, the first tracker will replace the actual target URL with
piwik.php?redirect_url=...
and the second tracker will track the link like this as an outlink:Ideally, these redirect_urls can be disabled optionally see #6265, and ideally, when using multiple trackers, we disable them automatically.
The result is for example
0
interactions in the second Piwik, and the interactions are shown in the first piwik.The text was updated successfully, but these errors were encountered: