If you wish to set some specific pages or directories to not be tracked by Piwik, we recommend that you modify the Piwik Javascript Tracking code, and replace


by a small if statement to test whether the current page must be tracked or not.
To exclude traffic for all page URLs which contain /admin or which contain user/private, write:

if (!window.location.pathname.match(/(\/admin|user\/private)/))

In this example, all URLs except the ones containing “/admin” or “user/private” will be tracked by Piwik.

Any questions?

Many answers and more information about Piwik You can find here:

We are social

Follow us: