In Google Analytics, what is the correct format for excluding traffic from single IP address?
-
In the past, when we've setup a filter to exclude a single IP address, we just entered the IP address normally. For example, 64.68.82.164. However, I was researching how to exclude a range of IP addresses and found out that I might be using the wrong format to filter a single IP address.
- Is it supposed to be 64.68.82.164 or 64.68.82.164?
- Will it still work if it was entered without the escape characters?
Thanks in advance Moz community for your assistance!
-
Thanks Carlos for the in-depth response!
-
Hi Pete,
If you use the predefined filter, then you shouldn't use the backslashes, on the other hand if you use a custom filter for IP Address you should.
Custom filters use regular expressions, and the dots are special characters that are use to match any character. So if you use 64.68.82.164 without backslashes, it means that it will match everything on the dots, all of these will be a match:
- 64.68.82x164
- 64a68**.82.**164
- 64**.68.82.**164
If you escape the dots 64.68.82.164, then it will match exactly the IP.
Since IPs have specific formats, it won't be a problem but to be correct if you use custom filters you should use backslashes.
Hope it helps,
-
You should use the 64.68.82.164 format.
Same thing goes for excluding spam referral traffic using same format such as simple-share-buttons.com|social-buttons.com
-
Is this different to their disavow feature? We use that quite regularly.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Funnel Problem in Google Analytics - Please help
Hello, I did set up a several funnel steps in my analytics account to get the funnel visualization report. But it's look fishy, something's clearly wrong that it shows only 10 visitors at the first step but actually more than 5k visitors has visited first goal page and followed through the another all steps. Everyday we are receiving 5k to 10k goal conversions but it not showing in the entire funnel steps through first step to last step. Please see the attached screenshot URL for funnel setup (Admin) and funnel visualization report comparing last two months traffic. Total goal conversions received 3,605 in last two months but in funnel chart (report) it showing only 2% conversions in last step. Anybody can tell me what is the problem with that or analytics not tracking properly?si65Y
Reporting & Analytics | | flightcentre200 -
How to Configure Custom Alerts for Real Time Traffic etc from Google Analytic API?
Hi All, I know how to set alert from google analytic but i want alerts for real time visitors so i think it is possible via Google Analytic API, so can anyone share with me the process or relevant blog post? Regards, Mit
Reporting & Analytics | | mit0 -
Can you track two Google Analytics Accounts on one site?
If you have a site that had an old analytics account and then implemented a new one is it possible to run tracking code that records to both accounts without causing your site or data issues? We are doing this so we don't loose data at any point - ideally it wouldn't have been split between the two but making one redundant isn't an option. Ideally we would have merged the data from both accounts and had one - however the research we have done points to this not being a possibility - unless one of you guys knows different? It would be great if anyone has experience on any this.. Thanks
Reporting & Analytics | | ChrisAllbones0 -
Google Analytics Event Tracking
Hi Guys, I want to set up a goal in Google analytics for this site http://www.dfrsolicitors.co.uk/contact.php and the contact us form is in php (so there is no thank you html page). I know there is a piece of code "onsubmit" or whatever it is, but I can't find it. I want to be able to track successful submissions. Kind Regards Neil
Reporting & Analytics | | nezona0 -
Universal Analytics - is it awarding traffic incorrectly ?
A few days ago deployed a new site. A funny thing happened within one day. Google Analytics commenced reporting Organic traffic as lifting by 25%. At the same time Google Analytics commenced reporting that direct traffic dropped by 25%. All other traffic sources remained at the same level. This is all being reported through GA Universal. Has anyone experienced this before? Any advice is appreciated. Also noted that with Google Webmaster is reporting, since the day of the new site deployment, a 40% drop in impressions and click. Reported referrals on this deployment day also went through the roof. All of the Google tools I am depending on are not supporting my discovery of a solution to this. If anyone has been through this on universal analytics or traditional analytics please help! Offering lots of good karma points in return. Cheers.
Reporting & Analytics | | Oxfordcomma0 -
Discrepancy between FB PPC and Google Analytics
This question was answered in 2011 here: http://moz.com/community/q/facebook-ppc-number-of-clicks-according-to-fb-different-than-visits-in-analytics. Wanted to post it to the community to see if anyone had any new thoughts in the last 3 years. I have been running campaigns on Facebook and seeing dramatic discrepancies between Facebook and GA's numbers. For example, I ran a Facebook ad campaign for a chiropractor where FB shows 35 clicks to the website, but GA only shows 2! An attorney ran a Facbook promotion, got 4 clients who actually filled out a questionnaire online, but GA only showed 2 visitors exiting off the form completion page. Is this because the users did not have JS/cookies enabled? Something else? What is the recommended work around? Tracking URL?
Reporting & Analytics | | aj6130 -
What is s.ytimg.com in google analytics?
My clients GA reports 273 visits from s.ytimg.com. I go to the site, it doesn't exist. I googled it, there were some code with s.ytimg.com in it, but nothing I could understand. Anybody have an idea where this comes from?
Reporting & Analytics | | endlessrange0 -
Google Analytics - In-Page Analytics
I had a strange thought waking up this morning, and was curious to hear other people's opinions on it. In Google Analytics, under Content > In-Page Analytics, Google shows what links on your site pages get clicked and how many times plus other metrics. Do you think they use that data for ranking back links so-to-speak? What I mean is, say I had a back link to my site on example.com, and example.com had google analytics installed. Google can see through google analytics whether my link has been clicked on. Say that my link gets no clicks, do you think that Google would use that metric against my site deeming it "not popular" or "not a good resource", even if example.com was a very popular site? And it could work the other way. Say my link got thousands of clicks on example.com, do you think that Google might use that to promote my site? I couldn't find any other discussion on this anywhere, so am not sure if people have already thought about this.
Reporting & Analytics | | THB0