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

Tracking code is wrong for piwik server behind a proxy #11282

Closed
bohnelang opened this issue Jan 26, 2017 · 2 comments
Closed

Tracking code is wrong for piwik server behind a proxy #11282

bohnelang opened this issue Jan 26, 2017 · 2 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@bohnelang
Copy link

We use piwik behind a reverse proxy and as generating the tracking code the server shows the intranet view like this: //piwik.mydomain.de/piwik/

  (function() {
    var u="//piwik.mydomain.de/piwik/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);

The internet view instead is: //www.mydomain.de/piwik/

Thus it would be nice if I could set a u-variable on the page where the tracking code is generated and that value overrides the system generated value u.

A variable in config/config.ini.php would good a well. Adding this pice of information at FAQ: "Using piwik behind a proxy" would be nice.

Same as tracking image...

@mattab
Copy link
Member

mattab commented Feb 18, 2017

Thanks for the report @bohnelang
I think this duplicates: #6644

@mattab mattab closed this as completed Feb 18, 2017
@mattab mattab added the duplicate For issues that already existed in our issue tracker and were reported previously. label Feb 18, 2017
@MESWEB
Copy link

MESWEB commented Mar 14, 2017

For my reason. Issue was:
disabled mod_security

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

3 participants