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

Feature request: enable tracking visitors without jsavascript, when using the proxy mode #5900

Closed
dessant opened this issue Jul 31, 2014 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@dessant
Copy link

dessant commented Jul 31, 2014

Currently only js enabled clients are tracked by the proxy mode, adding this feature would prove very useful, especially when tracking bots.

The same proxy file could be loaded in the noscript block, which would return a gif by itself and feed the data to the main piwik api in the background.

<noscript><p><img src="piwik_proxy.php?idsite=1&rec=1&bots=1" style="border:0" alt="" /></p></noscript>

@mattab
Copy link
Member

mattab commented Aug 3, 2014

I think this should work fine already, have you tried it?

@mattab mattab closed this as completed Aug 3, 2014
@mattab mattab added this to the Short term milestone Aug 3, 2014
@mattab mattab added Bug labels Aug 3, 2014
@dessant
Copy link
Author

dessant commented Aug 4, 2014

@mattab Sorry, the proxy mode description confused me a little.
https://github.com/piwik/piwik/tree/master/misc/proxy-hide-piwik-url
"the <noscript> part of the code at the end is removed, since it is not currently used by Piwik, and it contains the (secret) Piwik URL which you want to hide"

It suggests that the noscript tag should not be used in proxy mode, this text may need updating.

In any case, i have tried it now and loading the proxy file in the noscript tag works as expected.
Thanks for your response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants