Redirect Piwik HTTP request to different server

624 Views Asked by At

I have Piwik running on one server, Server A. All my websites run on a different server, Server B. I don't want my users to know Server A's address (including any cookies that would be set), but I want it to do all the statistics. I presume I will have to redirect all the requests to piwik.php from Server B to Server A but I don't know how.

1

There are 1 best solutions below

0
On
## Piwik Proxy Hide URL
This script allows to track statistics using Piwik, without revealing the
Piwik Server URL. This is useful for users who track multiple websites
on the same Piwik server, but don't want to show the Piwik server URL in 
the source code of all tracked websites.

Located in the /path/to/piwik/misc/proxy-hide-piwik-url/ folder.

Should do what your looking for.