[Pro] Google Analytics - excluding yourself and others

I must assume that most of us who use Freeway to design commercial sites have toyed with Google Analytics a bit. I myself use it on all the sites I make. The issue though is how to “easily” exclude yourself (and everyone else in your organization who accesses your website from various remote locations). So many so-called “solutions” out there say to just exclude the IP address. But who among us has a fixed IP? I dare say nearly none of us. And again, we want to exclude accesses by multiple people in the same organization, who access from various locations.

I found the following site that explains how to do that via a web page visit and cookie storage, but it’s a solution for only a single G.A. account (i.e., only one UA-XXXXXXXX-X):

http://aijazansari.com/2011/12/20/excluding-yourself-from-google-analytics/

I wrote to Aijaz asking him the following two questions:

  1. Does the cookie ever expire? If so, when?

  2. How would your “exclude” code change if it were altered to exclude multiple UA-XXXXXXXX-X accounts, excluding them all in the same cookie from a single visit to the Exclude web page?

Aijaz kindly replied back with the following info:

  1. Cookies are valid for 2 years.

  2. I don’t know if you can have one cookie handle all the accounts. What I would do is make one page for every site. Then maybe, create another page that includes the other pages as iframes. Then I would only need to access that one page, and it should set all the cookies at once. I haven’t tested this, but I’m pretty confident that should work.

Not being sure precisely how to implement his suggestion of using “iFrames” in Freeway to accomplish a “single page visit” solution for multiple G.A. account number exclusion, I decided to start a new topic hear so I could obtain your thoughts and advice. Perhaps the solution will be helpful to other Freeway users as well.

Thanks!

James Wages


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options