Hi community,
my first piwikinstallation was successful. Piwikserver is
located in closed-network (DMZ), all cms-server also. The
CMS Server are available with proxy, Piwikserver not.
The headerscript (inside cms-template) referenced to a
local .php (like GitHub - piwik/tracker-proxy: HTTP proxy for Piwik's tracker API. This script allows to track websites with Piwik without revealing to your visitors the secret Piwik server URL.).
Curiously in Piwik i can find trackinginformations from
the trackingsites (also tested with Opera Tor Browser).
But vistitorbrowsers failed to load resource: net::ERR_CONNECTION_RESET
Okay, piwik.js is located on piwikserver in DMZ…
Is it possible to operate a piwikserver without inernetaccess?
Do the visitors of your website have access to the piwik-server?
If yes, I am not sure why an error occurs, as they should be able to send their data to piwik.
If no, I guess you’ll need something like this:
If you are using tracker proxy you’ll need to modify the tracking script to point to the proxy instead of your (not externally reachable) piwik instance, as the Browser otherwise tries to send the data directly: