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
-
Can Anyone help me Checking the SEO of my Website?
Hi, I hope you are doing well. I want know how is looking my website? Is that attractive or boring for visitor. I really need your answer to improve my website. My Website is: https://sortscut.com/
Reporting & Analytics | | Pauline210 -
Help me exclude our dynamic IP addresses from GA
Hi There, I can't believe we are the first SEO Web Development company with the issue of dynamic IP addresses, for technical reasons our ISP keeps changing our IP addresses to different random IP addresses (no patterns, ranges, or reasoning to the specific changes) and we obviously need to exclude our own visits to google analytics - but I can't seem to find any simple way to do this in Google Analytics - can you help me find a simple solution for this? I did find two chrome extensions(I'll give you the links to those at the end) that I will look into if you cant help me find a simpler solution 🙂 Thanks so much!! https://chrome.google.com/webstore/detail/block-yourself-from-analy/fadgflmigmogfionelcpalhohefbnehm?hl=en https://chrome.google.com/webstore/detail/developer-cookie/lknhpplgahpbindnnocglcjonpahfikn
Reporting & Analytics | | Ruchy1 -
Need help understanding what happened to our organic search.
I help run an ecommerce business that mainly runs on Google organic search (yes, I realize this is not a good place to be). Last April, we saw around 25-30% of our organic search cut. I’m pretty sure it was due to the mobile update but we had some changes in the past month or two before that. I’m looking for someone to review my analytics account and see what happened. Possibly this is called an audit? Also, we’re looking to ask some questions about long term strategy as we are thinking about a redesign and switching to a new platform. Maybe more content? Maybe more social?
Reporting & Analytics | | kirbyf0 -
Help w/ Google Event tracking w/ new Universal analytics.js
I want to implement Google event tracking after my visitors complete an estimate form. Â The form provides them an approximate range of costs based on their widget and widget amount. I have the php coding done, but I don't know JS and I need to send an event upon completion of the estimate form. Â However, all of Google's examples are button click events. Â How do I send the event upon completing a form if there is no separate landing page? If I have my Google analytics code on the page as well, would simply adding the following the completed estimate code work?
Reporting & Analytics | | TheDude0 -
Help! Organic traffic decreased 75%.
Hi all, I've had fairly steady organic traffic to my website (www.toptienmobiel.nl) for the last 2 years. Since the beginning of march however I've noticed that the organic traffic was decreasing. Up until now my total organic traffic has decreased to about a quarter of what it was. It doesn't seem to be a penalty, since I still have most of my important keywords on the first page. They've decreased significantly though, mostly from the top 3 to 7+ position. Any idea on what may have been the reason for this sudden decrease? My link profile is still natural and I haven't done anything radical to the website concerning the backlinks or on-page elements. Could it be an algorithmic (Panda / Penguin) update? Thanks in advance!
Reporting & Analytics | | samerhadionline0 -
My GA code is on my site but Google Analytics isn't being pulled into SEOMoz...why?
The CEO wants me to present an SEO plan next week for three of our sites; however, I got this message when I went to campaign overview tab: "It appears there's a problem with our connection to your Google Analytics account. Please go to your Settings page to update your connection." I double-checked the GA code and it's the same on both our site and in SEOMoz...what gives? I clicked on Choose Your GA Profile->Set GA Account and Profile then got this warning: "Are you sure you want to change your Google Analytics connection?  Changing your connection will reset our cache of your historical GA traffic data." I need this data pronto so I can set strategy for three sites; any help would be greatly appreciated! Darrell
Reporting & Analytics | | AdviceElle0 -
I need to whitelist the Google Analytics servers via IP Address. Any one know their server IPs?
Due to a walled garden situation, I need to input all the servers we should have access to via IP Address. We need to track the way our users are browsing within the garden, so I require all the IP addresses that Google Analytics would use. I tried googling it, but was not able to find any definitive answers. Thank you in advance, Heather
Reporting & Analytics | | hmckenna0 -
Do Google Analytics filters affect link building?
We recently made a few link wheels for specific product pages. We've been having great results with all of the wheels except for one. The one we are having issues with is the only link that we were using a Google Analytics filter on; it looks like this http://domain.com/page.htm?zSource=Specific Keyword%tracking My question is does Google ignore links that are obviously utilizing their analyitcs custom filters? We're doing some more testing to try to find out if it truly is the link or if the wheel is a bad one. There are so many things that could go wrong but with so many of our link wheels working well, I wonder if the filters are what is causing such results.
Reporting & Analytics | | MichealGooden0