This is the tenth lesson video from my course The Exact Process For Setting Up Google Analytics – https://www.thequantifiedweb.com/exactga.
I decided to post the videos from the lessons publicly, but I encourage you to log into the course because from within the course you can access the written notes and the checklists, plus access my special offer. The course is completely free to register 🙂
In this lesson, you’ll be learning about how to add a filter to your Filtered Views that excludes all of your own traffic. This filter prevents your own team from inadvertently triggering goals, events, and other conversions when they use your website.
We always add this filter when we are working on a clients account, as it also filters out our own testing activity from your Google Analytics data. It is our own way of keeping our muddy footprints away from your carpet 🙂
Click to Open Transcription of Video
Welcome to Lesson Ten of the Exact Process for Setting Up Google Analytics by The Quantified Web and in this lesson we are going to go through setting up an Exclusion Filter in Google Analytics to exclude any IP addresses that are known. So specifically you want to be excluding your own IP address or if you are an agency then you want to be excluding the IP address of your known team members who’ll be working on the account.
So let’s go into the procedures. So the way you get in there is you go to www.thequantifiedweb.com/exactga, put in your email address and click Get Started Today. Yeah, we’re going to be going down to Create the Exclude Quantified Web Filter and here’s how to do it.
Now, obviously, this Exclude Quantified Web Filter is what my business calls it but you’re going to be calling it what you call it. In fact, I think I will change the label so I’ll probably just call it Create the Exclude Filter over here.
Anyway, so basically we want to be excluding IP addresses in this stage because if you are going to be testing things in your Google Analytics account you want to exclude your own activity from whatever you do. So because this procedure is used exactly as written by my team, you’ll see references to my teams’ IP addresses. Now, we’ve actually removed our IP addresses then I put it on another file that can be accessed but if you are a member of the public and you’re looking at this, you will be plugging in your IP address instead of our IP address.
Alright, so here’s how you do it. So the first thing we want to do is go to our Filtered Data No Params view and if you’ve been following along from the beginning, you know what I’m talking about. If this is the first time you’ve seen any of these lessons then we set up this view earlier in the lessons.
Alright, so to do that we go into Admin and we’ve got our Filtered Data No Params view there and we want to go into View Filters and then Add Filter. Alright, so that’s Filters and Add Filter.
Now, my team names the filter Exclude The Quantified Web but you will — actually, we’ve got — my business name used to be Exclude Web Data Analytics so I’m going to update that but we, so we name ours Exclude The Quantified Web but you will want to name yours differently. So basically, you want to name it something like Exclude my IP Address or if you’re an agency Exclude and then your business name.
Now, for the Filter Type, we want to choose Custom. Alright, and then we want to choose Exclude. There it is. Alrighty, now we want to choose IP Address. Now, we don’t do it as a Predefined because we typically have more than one person working on it and so we do it as a Filter Pattern instead of Predefined which just means we just got the one IP address. So if you just follow this it will work no matter how many IP addresses you have.
Alright, so next up you find out what is your IP address. So you do a Google Search for “what is my IP address” and that will tell you what your IP address is. Then you want to add your IP address to the filter to exclude it from the view. Now, you’ll notice that this is very similar to what we did before which was Include but we did that only for the Testing view whereas this is an Exclude and we’re going to be excluding the IP address from all the other views.
Alrighty, so in our case, we have more than one person who’ll be working on Google Analytics. So if we’re going to be adding another one then we do an OR symbol and we’re going to put in another IP address. In this case, I’m just setting it up with just the one.
Alrighty, now when you have finished setting up just click Save. We can’t have a way to verify for this one, unfortunately. So we want to check the Real-Time Content report to make sure that we still have traffic. Alright, so we go to Real-Time and go to Content.
Now, do you remember before in an earlier lesson where we showed you that when we’re actually testing we — so I’m going to go to the client’s website, oops, sorry I went to the wrong folder, I’m meant to be in Real-Time content. Now, if you recall we went to Testing and it came up as one person on the website. So I’m just doing that again on Testing just to remind you.
Alright, so we’ve got one person on the website in Testing because in Testing we have our IP address included. Now, here’s the thing, in the Filtered Data No Params, we’ve now added that filter that excludes our IP address. So now if we go to Real-Time Content report, we will not have that user on the website.
Now, this doesn’t necessarily mean that — so if you, if your website has lots of people on it you’re not going to see zero so we do need to do a bit more testing than that. So what we want to do is choose Content which is what I’ve done and then we are — I’m just looking at this actually, I think that, oh actually, so I found out I should have worked out what we’re doing.
Okay, so we want to make sure that we did actually have traffic in general. So, unfortunately, this particular website that I’m doing, it doesn’t have any traffic at the moment, so even on the normal website, they don’t currently have traffic. Now your website probably does have traffic normally so we want to make sure that we still have some traffic come through.
So what I’ve said here is if traffic is infrequent on the website then try logging onto the website from a mobile phone with wifi turned off. The main thing we don’t want to have here is to have accidentally excluded all traffic that could possibly come through from any source. So I’m just turning on my phone. I actually had it turned off for the video. Here we go. Alright, we’ll come back and do that in a moment.
So basically, if traffic is infrequent and it says zero then try logging on a mobile phone but it must have the wifi turned off. So the internet has to be coming through a different IP address, not the one that your computer is using. In order to make sure that the filter is fine, we do need to make sure that some traffic is coming through so we want to make sure that the traffic from the phone is coming through.
Alright, so I’m doing that now. I’m turning off my wifi. So I’ll just turn that off and now if I go to the website. Oops, I’ll just type it. Now, so I’ve just gone from my phone and I’ve got my wifi turned off, so if we’ve done this properly we should see one come through on the Home page. There it is. Good. Now, if you don’t have a phone then just wait 30 minutes and come back. Hopefully, someone’s come within the last 30 minutes.
Alright, so we do want to make sure that our own traffic is not coming through though. So what we’re going to do is we are going to search from the IP address that we’ve blocked. We want to go to a page that is unusual. So I’m going to do a search and if my page view was coming through then we would now see our search come through here.
Because it hasn’t come through then it means that it’s behaving the way it should. We would see it in Testing, we would actually see two people logged in because we’ll have the mobile phone plus the, plus my desktop. Actually, sorry, no no, on Testing we will have one because on Testing it would just be my desktop because we’ve included it in but in the Unfiltered Data, so Unfiltered Data has no filters applied at all, we’ll expect this one to see two.
It keeps leaving there for some reason. So in Unfiltered — okay, it didn’t work. Alright, there, here we go it’s up. So in Unfiltered, we’ve got two. So in Testing, you see my desktop. In the Filtered Data, you’re seeing my mobile phone because I haven’t filtered out the IP address from my phone and in Unfiltered, you’re seeing both of them.
And the benefit of that now is I can now do anything at all on the website. I can test forms a hundred times and it won’t come through into this reporting view. So if you keep in mind that we might be wanting to use this view to pull out some reports about what’s happening on the website, the idea is to clear away any junk that we don’t want in there and included in junk is our own activity especially if we’re testing things out. We definitely don’t want that to look like it’s coming from a prospective customer.
Alrighty, so that is the end of this procedure. That is a pretty short one.
Now, the next procedure that we are going to go through is the Lowercase and Crawler Spam Filters. So this is where we are going to improve the way that pages are written in Google Analytics to make sure that it is accurate and — well not just pages but actual — other dimensions, we’ll go through that and also clear out spam. So it’s going to be really useful. And I will see you in that lesson.
If you liked this video and want to find the next one, look out for How to Add Lowercase and Crawler Spam Filters in Google Analytics. In that next video, we’ll walk you through our standard gamut of filters we use to improve accuracy on your website by clearing away spam and preventing issues of capitalisation from ruining your results.