Google Analytics Tracking Myself

(Brian Purkiss) #1

I just noticed that Google Analytics tracks my admin account.

That is going to really mess with my Analytics data.

Is there any way I can have Google Analytics not show up on admin accounts or certain accounts?

Analytics - Add user type metrics
(Sam Saffron) #2

You are going to have to write a plugin for that, or set up an exclusion on googles site (somehow, I don’t know how)

(Brian Purkiss) #3

Hmm. I guess I’ll just stick with the IP filter in Google Analytics for now.

Here’s a link how to if anyone else is interested.

(Joel Limberg) #4

Another thought — there’s the option of tagging users/pageviews (called “Custom dimensions” in GA) with custom params.

It requires some setup on the Google Analytics side, but Discourse could in theory allow automatic tagging with trust levels / user types, so GA data can be filtered based on that.

(Hrishikesh Thakre) #5

You can use Google Analytics Opt-out Browser Add-on

(Brian Purkiss) #6

Ooh. That’s a much better option than IP exclusion, in case my IP changes.


(Caue Rego) #7

Except it opts-out of all google analytics anywhere, while I’d want to do it just for discourse (or selected sites, or whatever).

(Jacob Chapel) #8

Use an adblocker or similar that allows you to specifically block something on a site. Using that, you can specifically block Google Analytics for your site to avoid being tracked.