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 -
Filter Remote Workers Traffic
For the most part in the past our company has worked on location. So filtering internal traffic was as simple as filtering out our company IPs as well as a few remote workers IPS. Now a large number of employees are working from home due to Covid-19. I am seeing an uptick in traffic that is clearly employee-related. I am hoping some of you who work with large remote teams may have some suggestions on how to best filter out traffic from remote working employees. I found a few articles from a couple of years ago where people were using a cookie but not sure we can get that implemented in time as our Dev team is backed up. Any help is much appreciated.
Reporting & Analytics | | RMATVMC0 -
Query on Product List Position After doing filters
Hi All, I have implemented enhance ecommerce with tag manager now I am implementing Product List Position so I have query that if visitor do filter or do sorting via highest or lowest price at that time do we have to show List position too? If yes then how and if No then why?
Reporting & Analytics | | Arnold3
Thanks!Mitesh0 -
Query on google analytic event report and customized report - Please help.
For my site I placed Black Friday offer.Now I have highlighted one product at homepage banner and tracking that with event. I am sharing with you actual figures of 1 day from Google analytic. Your proper response on this query will really really really helpful to me for understanding google analytic deeply and properly. So pls give your precious time for answering me, I will be thankful to you from bottom of my heart. I am checking event report from behavior, following is report for by that product event - Sessions - 30
Reporting & Analytics | | pragnesh9639
Unique Events - 30
Total Events - 34
Ecommerce Conversion Rate - 3.33% I am checking now report from All pages via Behaviour section - Page views - 97, Unique Page Views - 62, Entrances - 7, Bounce Rate - 57.14%, %Exit - 17.53% Now I create customize report for the same by adding
session -7
Ecommerce conversion rate - 0
unique events -4 MY query - when I added session in customized report then it is different from Event session why (7 and 30) ? same way Ecommerce conversion rate in customized report showing 0% why ( 0% and 3.33% ) ? same way unique events 4 and 30 ? do you suggest what is the best way to analysis such page or what will be best customize report for such analysis? Thanks0 -
Queries vs. Organic Keywords in GA
Could someone explain how the following metrics in Google Analytics are being calculated: Search Engine Optimization (Acquisition): clicks on a certain query Campaigns (Acquisition): sessions on a certain keyword GA Help states that both 'queries' and 'organic keywords' refer to the actual string a user enters in Google Search. In that cases it seems that 'clicks' on a SERP result through a given query and 'sessions' through that very same query could not be miles apart. E.g.: Clicks through query X = 170 Sessions through organic keyword X = 8 Thank you for helping me out!
Reporting & Analytics | | WeAreDigital_BE0 -
Creating Goals in GA
Hi I don't know if the below can be done, and I can't seem to find an answer anywhere. Ideally I want to capture the event of registering for an account. Ultimately I want to know which products, pages etc drive customer registrations but which do not lead to a purchase (Registered Not Bought). Does anyone know if this is possible? Thanks Andy
Reporting & Analytics | | Andy-Halliday0 -
Block IP from analytics
How can I block an ip from analytics? basically so I do not see test orders from a certain ip in the sales performance section? Thanks for any help.
Reporting & Analytics | | tdigital0 -
Can you filter referring keywords in Google Analytics by language?
Hi All! So yes, I know that you can see/filter the language that the computer or browser was set to (en-us, ru, fr, etc.), but if you look at the keywords used by visitors falling under "fr", some are in English. Is there any way to get, say, just the keywords in Russian - regardless of what the visitor's browser language was set to? Thanks! Aviva
Reporting & Analytics | | debi_zyx0