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
Tracking outgoing links other than http or https is broken #8722
Comments
I can confirm that behaviour. |
Piwik is currently checking for url-like links before tracking them. We have two options to solve this: |
They should be tracked and displayed IMO. We're not back in the 90's :) Especially in mobile apps deep linking is common (see eg https://en.wikipedia.org/wiki/Mobile_deep_linking) and one wants to probably track and see it |
adding to 2.15.0 as this should be a quick fix. Are there other protocols we should add like |
Guess there are dozens we could add. So I would suggest to make that configurable as some might be very special... even |
Can we not just allow any during tracking? Configuring it seems not user friendly and alone in the Android world there probably > 100.000 different protocols (for deep linking). I'm not sure why it is restricted so maybe someone can help me here? |
Guess that was just to avoid crap being tracked as action. Btw. the reports are afaik not able to handle such "links" correct aswell. |
We should at least track it, at least if we claim to be like a mobile app tracking tool etc. Re the reports not sure. I'd probably display it as it'd work if one views it from a mobile device or whatever (depending on the protocol). I don't think people expect them to work when they view it in the browser. Meaning we could display them and link them. If someone clicks on it and nothing happens or a blank window opens that could be okay. Maybe not :) I'd link them |
I think if link tracking is enabled, Piwik should record everything that is a link. Why else would anyone turn on link tracking? Whether then the links work in reports or dashboard is up to the platform on which they are looked at. When a Web page is displayed, the browser decides how the links contained are treated. A selection of recordable protocols I do not consider necessary. The author decides with the inclusion of a link on the webpage if there is a link or not. |
👍 |
I'm using the normal tracking code from Piwiks admin page with link tracking enabled. Outgoing links are normally recorded by Piwik. All fine.
But I also have links other than HTTP or HTTPS on my website, for example, rtp: // ... These links will be logged, but misrepresented on the Piwik page. They all appear as a link to the Piwik Dashboard. In the visitor profile these links as shown as "Page URL not defined". Screenshot attached.
The text was updated successfully, but these errors were encountered: