Add to Google Add to Bloglines Add to Newsgator Add to Yahoo! Contact ROI Revolution Sign Up for the ROI Newsletter Unofficial Google Analytics Blog Feed Unofficial Google Analytics Blog
Unofficial Google Analytics Blog by ROI Revolution

Categories Search This Blog Blogroll Archive

| |

November 20, 2007

Excluding Internal Traffic the Easy Way

By Shawn Purtell, Google Analytics Support Tech

car.gif

If you've done research on excluding internal traffic from your Google Analytics reports, then you've probably heard words like "user defined variable", "dynamic or static IP address", and "orphaned web page." While you may want to become familiar with these terms someday, the truth is that not everyone is a webmaster.

What's my point? Well, I'm not sure if anyone's come up with this before, and quite frankly I wouldn't be surprised as this method is very easy, but here's a quick and easy way to exclude any kind of internal traffic from your reports, regardless of IP-whats-its. All you have to know is how to write an email.

Here's how:


Step1: This is by far the hardest step. In Google Analytics, create a new filter. In my example, I'll use 'Exclude all Internal Traffic'.

Filter Type: Custom

Select the 'Exclude' Option

Filter Field: Campaign Source, Campaign Medium, or Campaign Name - you pick!

Filter Patter: internal

Click here to see this filter in action

Step 2: Go to www.roirevolution.com/builder. That's right, we're using manual tags!

For the website URL, just put in your website's domain (i.e. http://www.roirevolution.com).

For campaign source, medium, and name, enter in the word "internal".

Generate the new URL!

Step 3: Copy and paste it to an email, and send it to everyone you want to exclude, demanding they click on it (asking nicely works too).

That's it! Seriously. Anyone (or rather, any computer/browser combo) that visits your site via this email link will be excluded, in full, from your Google Analytics profile that uses the above filter, regardless of IPs and all that other stuff.

Please feel free to leave comments, suggestions, or questions!


Find The Secret To Solid, Sustainable Improvements To Your Website
Learn the insider secrets to making more money from your website than ever before – Guaranteed! Get started right away with the Google Analytics Training Course.

Posted by Shawn Purtell at 1:59 PM









Filed under: , , ,

TrackBack

TrackBack URL for this entry:
/mt/mt-tb.cgi/267.

Comments

Nice work Shawn!
So I guess you also want to ask them to bookmark that page & only use that from now on...
but does this then work as they move to other pages within the site?
Aren't the tags only good for that pageview?

cheers,
mike

Posted by: mike at November 20, 2007 4:23 PM

Hi Shawn,

How exactly does this email / filter combo exclude visits to your site via this email link? Does clicking this link create a cookie on that users computer so that if they visit your site via any other method, like a Google search for example, they will be excluded? Interesting post.

Jesse

Posted by: Jesse DaCosta at November 20, 2007 4:49 PM

@Mike:

I suppose you could have them bookmark it, but it's not necessary. The cookie that's created lasts for 6 months (assuming they don't screw it up by coming to the site via a search engine or something silly), and is renewed every time they visit the site. The source is actually not a pageview variable, it's a session variable, so excluding the internal source effectively excludes the entire visit (and each subsequent visit), including all pageviews, from Google Analytics.

Posted by: Shawn Purtell, Google Analytics Support Tech Author Profile Page at November 20, 2007 5:59 PM

@Jesse:

When a user clicks on the internal link you create, it sets a cookie in their browser that set them as coming from an internal source. This cookie lasts for 6 months, and is renewed with every new visit to the site. If your employees visit your site from a google search engine or some other non-direct source, it will indeed erase this internal cookie, but they probably shouldn't be doing that anyway. If they accidentally do, they can reset the internal cookie by clicking on the link again. All things considered, I think it's an easy way to exclude the vast majority of internal traffic.

Posted by: Shawn Purtell, Google Analytics Support Tech Author Profile Page at November 20, 2007 6:02 PM

I'm not sure they would reset the cookie after a google search or another overwriting of the cookie. This method is good, but not good enough, imho.

Posted by: Tambu at November 21, 2007 5:08 AM

If you were to add this tag to the link to your website from e.g. your Intranet then every time someone used that link it would renew the cookie.

Posted by: KDye Vertical Leap at November 21, 2007 8:16 AM

@Tambu:

Similar limitations will exist no matter which method you use to exclude internal traffic. Using different computers, clearing cookies, expiring cookies, overwriting cookies, needing the user defined variable for something else, etc.

This method works great if your employees are made aware that they should not visit the site from your AdWords ads or organic searches. Shouldn't they know your URL if they work for you? They can use a bookmark.

I guess what I'm trying to say is that in a cookie based web analyltics platform, no method is going to be perfect. This is just an easy alternative that will do a great job of drastically reducing your internal traffic from your reports, and anyone can do it.

Posted by: Shawn Purtell, Google Analytics Support Tech Author Profile Page at November 21, 2007 9:47 AM

@KDye:

That is a great way for doing this. It would make sure that the cookie is reset each time someone in the office uses the site. No method is going to be 100% perfect, but I think using an intranet like this is about as close as it gets. I think this works well because of its sheer simplicity.

Posted by: Shawn Purtell, Google Analytics Support Tech Author Profile Page at November 21, 2007 9:50 AM

Sean:

This is a great alternative to adding a cookie to your machine, which is what Google Analytics Help Center and your own blog suggest. However, just remember that if you clear your browser's cookies, this process needs to be repeated.

Posted by: Aaron at November 26, 2007 11:12 PM

@Aaron:

Absolutely. If you clear cookies, you always have to reset them if you use any kind of cookie-based exclusion method (as opposed to using IP addresses). Thanks for pointing this out.

Posted by: Shawn Purtell, Google Analytics Support Tech Author Profile Page at November 27, 2007 10:57 AM

This is fantastic Shawn, I had looked into excluding internal traffic before but gave up. Creating a custom page on the site was going to be difficult with our ecommerce provider.

Does this work with the new tracking code?

Thanks for this!

Posted by: Thomas Holmes at January 9, 2008 9:06 AM

@Thomas:

Thanks, I'm glad this is useful for you. This method will indeed work with the newer ga.js code. Thanks for reading!

Posted by: Shawn Purtell, Google Analytics Support Tech Author Profile Page at January 9, 2008 5:46 PM

Post Your Comments

Post a comment

Contacting ROI Revolution

Telephone Number:
(919) 954.5955 ext. 306
ask for Meredith Smith

Office Fax:
(919) 954.4767

Address:
3109 Poplarwood Ct.
Suite 219
Raleigh, NC 27604


Authorized Google Analytics Consultant

Google Analytics Certified Service and Support Consultant


Free Webinar!

Join a Live FREE Google Analytics Training Webinar
Register now to learn how to
turn Google Analytics into
pure profit! You'll learn how to use many of the key reports, a ten-step system for properly configuring Google Analytics on your website, and how to apply what you learn to the attainment of your online goals. Register for our free Google Analytics training webinar today.


Subscribe to the
ROI Revolution Google
Analytics Newsletter today

Free monthly email publication that contains valuable, practical tips, secrets, and much more! Subscribe to our free Google Analytics newsletter today.


Looking to Purchase
Urchin 5 Software or Fee
Based Support?

We are a Urchin software certified service and support partner! Buy Urchin 5 software, profile packs, load balancing modules, campaign tracking, or fee-based support today.