GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
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?
to your account
Especially useful for single page applications but also if someone does not want to have piwik.php links in his page.
piwik.php redirects are currently used if a link goes to the same domain.
Maybe instead we could use the beacon trick? #6641
works only in Chrome so far I think... IMO piwik.php redirects should be disabled by default as it works for all sites and optionally users should be able to enable it in case they want it.
This may be needed for: #13681 - see comment in #6641
There's no reason to be able to enable it anymore since there is enableSendBeacon etc. The redirect is slower etc and shouldn't be needed.