Setting up I.P Filter Google Analytics - I.p ending with 0/24
-
Hi everyone,
Your help would be much appreciated for the following:
I am trying to setup I.P filters for our Google Analytic account to exclude internal traffic.
We are located in multiple locations and each location have multiple I.p addresses.
The I.P addresses we have end either by 0/24 which apparently means they provide a range from 0 to 255 and or 128/25.
I have tried to setup the I.P addresses in different formats on the GA filter but they are apparently are not valid:
example of one setup I tried:
1**.\2**.\8*.([0-256])
I have gone through the Filter setup guide from Google but I must be doing something wrong- probably to do on how I setup the I.P's ending with 0/24 and 128/25
If anyone could help me on how I can set up the I.P filters Google analytic would be great.
The I.P addresses look like the following (changed digits):
Location 1:
174.177.179.0/25
174.177.179.128/25
Location 2:
196.222.87.0/24
194.59.197.0/24Thanks you so much for your help,
L.
-
Here's how I do it. I use a custom filter and filter IPs by range
PART ONE - Generate RegEx for IP Range
- Go to this RegEx range tool: http://www.analyticsmarket.com/freetools/ipregex
- Enter your IP address in "First IP, but change the "D block" to your start range
- Enter your IP address into "Last IP", but change the "D block" to your end range
- Click generate, and here's what you get for your first location: ^174.177.179.([0-9]|1[0-9]|2[0-5])$
PART TWO - Create The Filter
- Go to create a new filter in Analytics
- Give it a name
- Select Custom
- For field choose "IP Address"
- Paste your RegEx in "Filter Pattern
- Save
-
Are you getting errors?
If you just dont see any difference, that will be because filters dont apply retrospectivly to data. They will only work for new data after the filter is added. So it might take some time before you see the changes.
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
-
301 redirection problem - Major lose of ranking in Google Search results
301 redirection problem - Major lose of ranking in Google Search results
International SEO | | AviramAdar
(site was almost completely removed from google search results) Hello,
I had a website ('DayUse' style) with the following url:
https://www.roomsindex.co.il/ Couple of days ago, I've made a 301 redirection to:
https://www.hour.co.il/ The redirection was made on 2 levels:
1. Server side- on htaccess file.
2. Google Search Console - Change of address page. Bare in mind the following things: The site's structure (url addresses) & the code hasn't changed (for sure). Both redirections are 100% valid (for sure). All the website pages were indexed (for sure). There isn't a penalty on any of the above domains (for sure). The website was almost completely removed from Google search results. For example: Before the redirection the website was ranked 10 in my main keyword "Rooms by hour" (translation from Hebrew), now the website removed. Also, the website removed from almost all the search terms it was ranked before. My question is, off course, WHY???
By the details on the following page, a proper 301 redirection shouldn't cause to such page ranking loss (As I mentioned- It almost completely disappeared)... https://support.google.com/webmasters/answer/6033049?utm_source=wnc_807001&utm_medium=gamma&utm_campaign=wnc_807001&utm_content=msg_914100&hl=en-IL search-console-change-of-address.png0 -
Why are some regions/countries not indexing correctly?
Hi All, Recently I've added different regions (website.com/se/ etc) to Google search console and pointed them to their relevant countries, but only half are working when I search from a regions IP with a VPN and use the correct Google search ( Google.se etc ). Will this correct over time? or is something else causing them not to be indexed up correctly? Thanks in advance <colgroup><col width="81"><col width="104"></colgroup>
International SEO | | WattbikeSEO
| Country | Appear in SERP 17/12/2018 |
| AU | TRUE |
| CZ | TRUE |
| DK | TRUE |
| HK | TRUE |
| IE | TRUE |
| IT | TRUE |
| KR | TRUE |
| NL | TRUE |
| NZ | TRUE |
| SE | TRUE |
| SG | TRUE |
| US | TRUE |
| ZA | TRUE |
| AE | FALSE |
| AT | FALSE |
| CH | FALSE |
| CN | N/A |
| DE | FALSE |
| EE | FALSE |
| ES | FALSE |
| FI | FALSE |
| FR | FALSE |
| GB | FALSE |
| GR | FALSE |
| JP | FALSE |
| NO | FALSE |
| PL | FALSE |
| RU | FALSE |
| SI | FALSE |
| TR | FALSE |0 -
My indexed site URL removed from google search without get any message or Manual Actions??
On Agust 2 or 3.. I'm not sure about the exact date...
International SEO | | newwaves
The main URL of my website https://new-waves.net/ had been completely removed from Google search results! without getting any messages or Manual Actions on search console ?? but I'm still can find some of my site subpages in search results and on Google local maps results when I tried to check it on google
info:new-waves.net >> no results
site:new-waves.net >> only now I can see the main URL in results because I had submitted it again and again to google but it might be deleted again today or tomorrow as that happen before last few days
100% of all ranked keywords >> my site URL new-waves.net had been completely removed from all results! but I'm still can see it on maps on some results My site was ranked number 1 on google search results for "digital marketing qatar" and some other keywords, but the main URL had been removed from 100% of all search results. but you can still see it on the map only. I just tried to submit it again to Google and to index it through google search console tool but still not get any results, Can any one help to know what is the reason?? and how can I solve this issue without losing my previous ranked keywords? Can I submit a direct message to google support or customer service to know the reason or get help on this issue? Thanks & Regards0 -
Problems with the google cache version of different domains.
We have problems with the google cache version of different domains.
International SEO | | Humix
For the “.nl” domain we have an “.be” cache..
Enter “cache:www.dmlights.nl” in your browser to see this result. Following points are already adapted: Sitemap contains hreflang tag Sitemap is moved to the location www.dmlights.nl/sitemap.xml We checked the DNS configuration Changed the Content language in de response header to : Content-Language: nl-NL Removed the cache with webmastertools Resolved serverrequest errors. Can anyone provide a solution to fix this problem? Thanks, Pieter0 -
Shall I automatically redirect international visitors from www.domain.com to e.g. www.domain.com/es? What is best SEO practice?
We have chosen the one domain approach with our international site having different language versions in subdirectory of main domain:
International SEO | | lcourse
www.domain.com/es
www.domain.com/it
etc. What is SEO-wise best practice for implementing international index pages. I see following options: entering www.domain.com will display without redirection the index page in language of user (e.g based on IP or browser) in www.domain.com
Example: www.booking.com entering www.domain.com will always show English index page.
Additionally one may display a message in the header if IP from other country with link to other language version.
Example: www.apple.com entering www.domain.com will always redirect automatically to country specific subdirectory based on IP
Example: www.samsung.com Any thoughts/suggestions on what may be best solution from a SEO perspective? For a user I believe options 1) & 3) are preferable.0 -
Best URL structure for Multinational/Multilingual websites
Hi I am wondering what the best URL format to use is when a website targets several countries, in several languages. (without owning the local domains, only a .com, and ideally to use sub-folders rather than sub-domains.) As an example, to target a hotel in Sweden (Google.se) are there any MUST-HAVE indicators in the URL to target the relevant countries? Such as hotelsite.com**/se/**hotel-name. Would this represent the language? Or is it the location of the product? To clarify a bit, I would like to target around 10 countries, with the product pages each having 2 languages (the local language + english). I'm considering using the following format: hotelsite.com/en/hotel-name (for english) and hotelsite.com/se/hotel-name (for swedish content of that same product) and then using rel=”alternate” hreflang=”se-SV” markup to target the /se/ page for Sweden (Google.se) and rel=”alternate” hreflang=”en” for UK? And to also geotarget those in Webmaster tools using those /se/ folders etc. Would this be sufficient? Or does there need to be an indicator of both the location, AND the language in the URLs? I mean would the URL's need to be hotelsite.com/se/hotel-name/se-SV (for swedish) or can it just be hotelsite.com/se/hotel-name? Any thoughts on best practice would be greatly appreciated.
International SEO | | pikka0 -
Google Indexing Part two
Hi Everybody, I am trying to understand how does Google works, so I ve been reading and researching a lot. But I am still having a problem that I cannot solve. My website is in several languages, but its main language is Catalan. so if you get into my webite: "www.vallnord.com" the default language will be catalan. but if someone using Google.es in Spanish I would like the spanish version of the web to be the main result not the catalan. unfortunately this does not work like this. For a search query like "Esqui Andorra" the catalan version is on the 1st page and the spanish (www.vallnord.com/es) is on the 4th page. Does anybody know why is this happening or how can I solve it? Regards.
International SEO | | SilbertAd0