Help with GA Filters - IP Addresses
-
I'm having a hard time filtering out both of the IP addresses at our office. One is easy with regular expressions, but the other one does not seem to be working.
Here are the two IP addresses:
2606:a000:4e2b:d500:61d9:9d4e:c539:ea86
174.99.90.148I set up these two custom filters and neither worked for the longer IP address.
2606:a000:4e2b:d500:61d9:9d4e:c539:ea86|174.99.90.148
2606:a000:4e2b:d500:61d9:9d4e:c539:ea86|174.99.90.148Would you please help steer me in the right direction? Thanks as always MOZ friends!
-
Figured it out fully! This is how I needed to write the filter to have both in a regular expression:
174.99.90.148|^2606:a000:4e2b:d500
Thanks again everyone for steering me in the right direction!
-
Not sure why, but it looks like we just have to have separate filters for ipv6 versus ipv4s... works that way, but not combined for whatever reason.
Thanks for the help everyone!
-
I would agree with Dmitrii again on this one. For ipv6 there shouldn't be a need for regex as there are no '.' characters and ':' does not cause a regex function. You might want to consider simply segmenting the ipv4 and ipv6 as two different filters? I know this defeats your purpose of using one filter to catch them all but the problem you are facing may be caused by trying to group ipv6 and ipv4 in the same filter.
Try doing them separately and let us know if that solves the issue of correctly filtering the ipv6 traffic while using the pipes to join multiple ipv6 in one filter.
-
If you are creating filter just for one IPv6, why to you use regular expression at all? Just input it as it is.
-
I'm no longer getting the error, but for whatever reason putting them together is not filtering them out. What it looks like I need to do is create a custom filter and determine how to put the ipv6 in as a regular expression, which I do not understand how to do. Do you know?
-
The solution Dmitrii proposed has also worked for me with no invalid IP address error.
Can you confirm that this is still not working for you and provide a screenshot if possible?
-
It worked for me. I just checked. Are you doing it in custom, rather than predefined?
-
When I put that in it tells me that it's an invalid IP address...
-
It should be
2606:a000:4e2b:d500:61d9:9d4e:c539:ea86|174.99.90.148 -
It does work when I set up a predefined filter blocking IP, but only for that one ipv6 - when trying to add both it isn't working and I'm hoping to only have one filter that blocks multiple IPs... thoughts?
-
Again, is it working if you create a filter just for ipv6?
-
Basically, what I'm trying to do is build the functionality to have all of my IP addresses, both IPv4 and IPv6 in one GA filter. I selected a custom filter to exclude IP addresses that are equal to the below expression, but it's not working for the IPv6. Can someone tell me what's wrong with this setup?
174.99.90.148|2606:a000:4e2b:d500:8519:4fcb:8bf0:78d7
I'm pretty sure the regular expression is incorrect for the IPv6, but I don't know how to do it and cannot figure it out through research.
Thanks as always MOZ friends!
-
Well, try ipv6 by itself first. Make sure it's working, eliminate the variables, you know. If it works by itself, then you can start digging into regular expressions (even though it should be simple ipv6|ipv4 without escapes). Who knows - maybe fault is not in regular expressions, but address is wrong or something.
-
I'd like to put all of these IP addresses in one filter instead of several, which requires a regular expression. These IPs are ours, but I also want to add different partners' IP addresses on their sites. We work with about 50 different websites and I'm hoping to have this as just one of the filters. The regular expression works for the non-IPv6 (thanks!) IP, but the IPv6 one is not filtering.
Make sense? Thanks again for the help!
-
IPv6 is that long IP address.
Simply go to filters in GA, find predefined filter, choose exclude, choose "traffic from IP addresses" and paste your IP, which is 2606:a000:4e2b:d500:61d9:9d4e:c539:ea86.
-
Pardon the lack of knowing, but what is ipv6? How does that filter look in the GA filter? Thanks!
-
Hi there.
You should be able to exclude both IPs without any escaping. What I'd recommend is to create a filter just for ipv6 and see if exclusion works. Let me know if that works.
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
-
Direct / (none) Spam Traffic Help
In July 2015, we experienced an over 1,000% increase in traffic and it has remained like that ever since. It's all spam traffic and I have no clue how to get rid of it. I added in your typical .htaccess blocks from known culprits with little to no effect. Read up on Ghost traffic and applied filters to no effect. The spam is completely distributed as far as I can tell both geographically as well as by network providers. Where once we had pretty decent bounce rates of around 50%, now, since all my Analytics data is meaningless - it's around 90%. I could apply a filter but beyond my GA account providing no insights, I'm also concerned about the increased use of server resources. I'd ideally like to stop the traffic completely. The only distinguishing feature of the traffic that I have been able to determine is browser size. Comparing June 2015 to July 2015 we saw the following: Browser size visits: 620 x 460 = 6,828 vs 0, 610 x 450 = 175 vs 0, 1330 x 630 = 71 vs 1, 1890 x 940 = 67 vs 0, 780 x 580 = 58 v 5. Other than that, I can find no unifying theme to the traffic beyond being traffic hitting our homepage and having no medium. Nothing special that I am aware of happened in July. We didn't do any sort of...really anything. We did have our network compromised by ransomware in the beginning of June, which we promptly ignored and restored backups - at no point did we try to contact the criminals, but I am doubtful there is any connection considering that our website is remotely hosted. If anyone has any suggestions or has seen anything like this before, please let me know. spam-traffic.jpg
Reporting & Analytics | | Nivik230 -
Help With Understanding Chrome Web Store Analytics
Hi all, our website Creately is listed in the Chrome Web Store. Its not an extension or an app, but just a link to app which users can use to quickly log into the app and start drawing their diagrams. They do provide you a way to add Google Analytics to track some visitor data like user visits. But we want to figure out from which sections of Chrome Web Store is sending us traffic. When looking at the Source/Medium reports I can see the following. chrome-ntp-icon / (not set) chrome-app-launcher / (not set) chrome-ntp-launcher / (not set) chrome-app-launcher-search / (not set) chrome-app-launcher-info-dialog / (not set) I'm guessing these indicate where we're getting the traffic to the Chrome web store page but I can't seem to find any information about what they mean. Any help will be greatly appreciated.
Reporting & Analytics | | Nishadha0 -
Cross Domain Tracking in GA (without cross domain links)
Hi everyone, Been doing some research about cross-domain tracking in Google Analytics (preferably Universal Analytics where documentation is a bit spare). All of the tutorials focus on the auto-linking and ensuring links to the other site are taken care of. I'm considering a site that may not cross-link like that at all (or it may, but won't be the main avenue). A good example is: www.gap.com
Reporting & Analytics | | ketanmv
www.bananarepublic.com
www.oldnavy.com Now, they do link to the other brands in their navigation but let's pretend that they don't necessarily do that. Gap Corporate may want to roll up all these domains into a single reporting profile because customers can clearly visit any of those sites on their own and buy. It would be nice to know that Visitor X bought 2 items from gap.com and 3 from oldnavy.com... and of course, here were their campaigns, etc. From what I am reading, I am not sure this is really possible. It seems that the cross-domain code is really only best for when my main site links to another domain for checkout or something. But in my example, we are definitely not in control of that kind of behavior. Thoughts? Perhaps I need to recommend they go with subdomains only which Universal GA seems to handle quite fine out of the box. Thank you!0 -
Using Filters On Google Analytics
Hi Guys, I am In need of some technical help with regards to Google analytics. One of my clients has a site providing HR Software on SaaS basis. The users login via the site for the various HR Tools. Obviously this is skewing the analytics data and showing 10,000+ extra visitors that actually don't exist. Now I understand i can add filters and exclude certain pages for instance the login page, however, some users will visit the home page then click login. How can I exclude them just to show new visitors to the site rather than users that are just trying to login. Hope this makes sense Neil
Reporting & Analytics | | nezona0 -
Why should I use Google Tag Manager and will it help rankings?
hi all I have been reading the documentation here; http://www.google.co.uk/tagmanager/ But cannot find a real GREAT reason for using this and how it will help my fairly small (500/600 visitors/month) hobby website. Any suggestions help most welcome! Thanks Andy
Reporting & Analytics | | andystorey0 -
Major practices which helps to index pages by google.
Actually, We have submitted more than 100 pages in to google through xml sitemap. But, we see in that 75% of the pages where indexed by google. Note : Excluding the duplicate pages
Reporting & Analytics | | Webworld_Norway0 -
Google Analytics help - exporting reports
Hey mozzers, A little help if you will. I am in traffic sources > sources > search > organic I am view keywords and comparing 1 month with another. Now I see what 1 keyword sends 1st month, 2nd month and % Change. I want to export this data to an .xls file. When I do, I end up with a file that shows what 1 keyword sends 1st month and 2nd month, but no % Change! I really need to include this in exported document.... Summary: Analytics hates me. 🙂
Reporting & Analytics | | MirandaP0 -
Can I implement Facebook insights to GA?
Hi, I would like to know if anyone knows of a function where I can implement my facebooks insights of my fanpage to my google Analytics account. I want to be able to manage all my tracking through one software (GA) so that it is easier for me to see the correlations. Thanks a bunch,
Reporting & Analytics | | wellbo
-Malte0