First time here? Check out the FAQ!

Revision history  [back]

Disable Google Analytics for administrators.

I've been trying to think of a way to disable administrators from being tracked by Google Analytics. I don't want my analytics data tainted with my daily visits to check up on things, especially since traffic to my site is so low right now.

There are a number of solutions out there for excluding oneself on the Google Analytics side, but they all require some rather fragile workarounds (excluding a specific IP address, setting a cookie, etc.).

But then I realized that this problem could be solved much more reliably on the Askbot side: Simply do not display the Google Analytics Javascript for the administrator.

Disable Google Analytics for administrators.

I've been trying to think of a way to disable administrators from being tracked by Google Analytics. I don't want my analytics data tainted with my daily visits to check up on things, especially since traffic to my site is so low right now.

There are a number of solutions out there for excluding oneself on the te Google Analytics side, but they all require some rather fragile workarounds (excluding a specific IP address, setting a cookie, etc.).

But then I realized that this problem could be solved much more reliably on the Askbot side: Simply do not display the Google Analytics Javascript for the administrator.