# \[Pro\] Google Analytics - excluding yourself and others

**URL:** <https://discourse.softpress.com/t/pro-google-analytics-excluding-yourself-and-others/15301>\
**Category:** Freeway\
**Created:** [October 10, 2012, 12:51am UTC](https://discourse.softpress.com/t/pro-google-analytics-excluding-yourself-and-others/15301 "2012-10-10T00:51:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JDW](https://discourse.softpress.com/user_avatar/discourse.softpress.com/jdw/32/2729_2.png) [@JDW](https://discourse.softpress.com/u/JDW)\
**Post date:** [October 10, 2012, 12:51am UTC](https://discourse.softpress.com/t/pro-google-analytics-excluding-yourself-and-others/15301/1 "2012-10-10T00:51:02Z")

</div>

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/](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](http://freewaytalk.net/person/options)
