The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. International Issues
    4. Setting up I.P Filter Google Analytics - I.p ending with 0/24

    Setting up I.P Filter Google Analytics - I.p ending with 0/24

    International Issues
    3 3 559
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AlphaDigital2
      AlphaDigital2 last edited by

      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/24

      Thanks you so much for your help,

      L.

      1 Reply Last reply Reply Quote 0
      • N1ghteyes
        N1ghteyes last edited by

        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.

        1 Reply Last reply Reply Quote 1
        • evolvingSEO
          evolvingSEO last edited by

          Here's how I do it. I use a custom filter and filter IPs by range

          PART ONE - Generate RegEx for IP Range

          1. Go to this RegEx range tool: http://www.analyticsmarket.com/freetools/ipregex
          2. Enter your IP address in "First IP, but change the "D block" to your start range
          3. Enter your IP address into "Last IP", but change the "D block" to your end range
          4. 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

          1. Go to create a new filter in Analytics
          2. Give it a name
          3. Select Custom
          4. For field choose "IP Address"
          5. Paste your RegEx in "Filter Pattern
          6. Save
          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Why Google is not indexing each country/language subfolder on the ranks?
            0
            1
            58

          • Google Analytics Search Console for International Countries
            0
            1
            67

          • Google Analytics - whats best way to set up to track users on geotargeted sub folders & tlds ?
            Dan-Lawrence
            Dan-Lawrence
            0
            11
            879

          • .cn domain vs. .com/cn/ folder structure
            vmialik
            vmialik
            0
            2
            933

          • What is the best way to rank well on both Google.co.uk & Google.com?
            LynnPatchett
            LynnPatchett
            0
            2
            2.0k

          • Poor Google.co.uk ranking for a UK based .net, but great Google.com
            Alex-Harford
            Alex-Harford
            0
            11
            682

          • Site Spider/ Crawler/ Scraper Software
            iPullRank
            iPullRank
            0
            2
            1.6k

          • Does it matter whether you use /en vs /uk
            RyanKent
            RyanKent
            0
            4
            786

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy