Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
If Piwik tracking server is down/unavailable, piwik.php should fail gracefuly, not 505 #8
If the Piwik tracking server becomes unavailable, under normal implementation (using the standard .js tracker code), it's invoked and if it fails/is unavailable, there is no impact to the site / page being loaded. It will just not track stats anymore.
Using the tracker proxy, a 505 error is returned which in turn makes the site being tracked also return such error.
The tracker-proxy code for this is ~line 78, this should fail gracefuly instead of making the main site being tracked completely unavailable.