How to Exclude Your Visits in Google AnalyticsWho doesn’t love stats?
Understanding your site’s metrics is important in the growth of your blog. It’s good to know where people are coming from, what they’re reading, and what is resonating. What’s challenging about a smaller blog is that it doesn’t have a ton of traffic and your own visits to the site can skew the metrics.
When you’re first starting out, you’ll be loading your website up a lot. You record a pageview when you check post previews or when you check that a plugin is working. You make a tweak to your theme and design and you’ll load it up again. Those frequent visits can skew your statistics and make your analytics less valuable.
The simple solution is to exclude yourself, here’s how:
Exclude by IP
You can use filters in Analytics to exclude visits from your IP address. Load up your analytics account and click Admin in the top right corner. In the right column, under Profile, the fourth option is for Filters. Look for the + New Filter button above the list of filters, click that. You should see this form:
I named my filter “IP xxx.xxx.xxx.xxx” with the xxx’s corresponding to my IP. Then I used the options shown in the screenshot above and put in my IP. This is your IP:
The benefits of this are that it’s simple to do. You don’t need to mess with regular expressions or anything else. The drawback is that if your IP changes, you need to update this. If you click Custom Filter, you can use regular expressions if you’re familiar with them and want to set a range.
Exclude by Cookie
The second, and slightly more complicated way, is to exclude yourself using a cookie. To do this, you need to create a page on your site that will set a Analytics variable. Then create a customer filter that excludes visits where that value is defined by the visitor.
Then add the following filter:
That should do it! Now reload away while preserving the sanctity of your statistics.
Latest posts by Jim (see all)
- How to Auto-Tweet Posts from an RSS Feed and Tag Someone - December 20, 2016
- How to Delete a Website from Google Analytics - December 9, 2015
- Don’t Use Public URL Shortening Links in Emails - June 12, 2015