Excluding admin en robots?


(Sumpson) #1

Hello,

First of all thanks for Piwik, its a very nice program.

I have been searching allot on this website and forum to find an answer on how to exclude the admin ip and robots from piwik but couldn’t find the answer, hope someone here will be able to help.

Thanks,

Philippe


(rschilt) #2

Hi Philippe,

This currently a feature request for Piwik 0.5.6. See Trac Ticket #42 (Plugin to exclude the webmaster based on a cookie · Issue #5462 · matomo-org/matomo · GitHub) and #43 (Plugin to exclude the webmaster based on IP or IP range · Issue #5463 · matomo-org/matomo · GitHub).

If you are running Wordpress there’s an interim solution:

  1. Plugin approach.
  2. Add a PHP conditional to prevent Piwik JS from running when logged in (or by IP).

Cheers,