Exclude your IP address from Google Analytics

Updated on April 15, 2026

As a website owner, you should exclude your own IP addresses from Google Analytics to keep the data clean and accurate. When you’re working on your website such as testing pages or fixing bugs, Google Analytics will record your activity just like an actual visitor. This can mess up your statistics. By excluding your own IP addresses, you ensure the data reflects only real user behavior.

There are several steps to excluding IP addresses from Google Analytics:

  1. Collect the IP addresses that represent internal traffic
  2. Configure Analytics to tag events from those IP addresses as internal
  3. Configure a filter that discards events tagged as internal.
  4. Test to confirm everything is working correctly

How to get your IP address

Currently, your IP address is 157.55.39.200. If you are collecting IP addresses from your team, you can send them to the following page to easily display and copy their IP address.

What’s my IP address?

Instructions

  1. Sign into Google Analytics

    The direct link is https://analytics.google.com/.

  2. Click Admin in the side menu

  3. Click Data Streams under Data collection and modification

    Screenshot of the 'Data collection and modification' panel of the Google Analytics admin panel, with the 'Data streams' menu item highlighted

  4. Select the data stream for your website

  5. Click Configure tag settings

    Screenshot of 'Google tag panel' with 'Configure tag settings' highlighted

  6. Scroll to the bottom and click Show more to expand the page

  7. Click Define internal traffic

    Screenshot of the 'Define internal traffic' menu option in the Settings panel of 'Configure tag settings'

  8. If you previously created a rule, select it. Otherwise click Create

    Screenshot of the configuration panel for defining internal traffic in Google Analytics

  9. Set the rule name (when creating a new rule)

    If you are creating a new rule, you must assign a name such as “Internal Traffic”. This name is for you – select a name that will help you remember its purpose. You can rename the rule later.

  10. Use the default traffic_type of internal unless you want to define multiple internal traffic rules and distinguish between them

    You can define multiple rules to distinguish between different types of internal traffic. For example, you can define a rule for home traffic and another rule for office traffic. If you need to treat the traffic differently in some way, then give each rule a different traffic_type value. Otherwise use the default of internal.

  11. Specify the IP address(es) to exclude

    You can specify one or more conditions, where each condition is an expression such as IP address equals. If you add multiple conditions, they are evaluated as “OR”, meaning a match occurs if any of the conditions evaluate are true.

    If you are filtering one or two IP addresses, you can select IP address equals to enter the specific IP address to filter. If you have a lot of IP addresses to filter, other options are usually more efficient.

  12. Click Create (or Save) in the upper-right corner

    By completing this step, you have created a rule that tags your traffic as internal. This alone does not cause the data to be filtered. You need to return to the admin screen and enable a filter to handle the tagged internal traffic.

  13. Go back to the main Admin screen

  14. Click Data filters under Data collection and modification

    Screenshot of the Data collection and modification panel on Google Analytics admin, with the Data filters menu item selected

  15. Click Create to create a new filter

    If you already have a filter for internal traffic, you can click it to change it.

  16. Select Internal Traffic for the filter type

    Screenshot of the Chose Filter Type option when creating a new filter in Google Analytics

  17. Give the filter a name, e.g., Internal Traffic

  18. Select Exclude for the filter operation

  19. Set the traffic_type parameter to “internal” or whatever value you tagged internal traffic in step 10 above

  20. Select Testing as your filter state until you are satisfied with the results and then return to change to Active

    You should start with Testing to make sure you have configured everything correctly. Once you change to Active, the internal traffic will be excluded and cannot be recovered.Screenshot of the Filter State option when changing the state of a filter in Google Analytics

  21. Click Create (if adding a new filter) or Save (if changing an existing filter)

  22. Go to your website and click around on pages configured with Analytics

    It may take 24-36 hours for the filter to take effect.

  23. Return to Analytics later and confirm the filter is working.

References

  • [GA4] Filter out internal traffic – Analytics Help. “You can filter out website activity from an IP address or a range of IP addresses so the data generated by users at those IP addresses don’t appear in your reports. You can’t filter out internal traffic from app users.

License

Licensed under CC BY 4.0 You are free to share and adapt this content for any purpose as long as you give appropriate credit in a reasonable manner.

No affiliate links

We do not participate in affiliate marketing, and we are not paid to mention products.

Leave a Reply

Your email address will not be published. Required fields are marked *