How To Exclude Your IP Address From Google Analytics & Google Analytics 4: Step By Step

It is important to get accurate data from Google analytics so that we can grow our business in the right direction.

But, when your google analytics dashboard starts counting your visits or your employee’s visits as a session, then it becomes a problem.

To get accurate data, we manually have to inform Google analytics to stop tracking our IP. It might seem hard to do, but believe me, it really easy. You just need to follow a few steps to do that.

Find Your IP Address

Before you do the steps, you need to know your IP address, and to find it, I request you to visit, this site will show your IP.

Do this for all Wi-Fi networks you want to be excluded from Google Analytics. Do the same thing for any other Wi-Fi networks (e.g. a phone hotspot or cable internet).

Steps To Exclude Your IP Address From Google Analytics

Follow these steps shown below.

Step 1: Log In To Your Google Analytics Dashboard

I guess you are already logged in to your google analytics, if not, then Click here to directly visit Google analytics or log in to your Gmail account.

Step 2: Click On The Admin From The Menu

The menu is visible on the left side, and at the bottom left, the Admin tab is available, click on it and proceed to the next step.

Step 3: Click On All Filters

Once you click on the Admin option from the menu, a new page will open where you’ll see a lot of options. Don’t scare, just select the all-filters option.

Step 4: Select Add Filter

Clicking on the All Filters option will expand the page and new options will appear, select Add Filter option from there.

Step 5: Give A Name To Your Filter (e.g. Exclude My IP)

Google Analytics will ask you to give a name to the new filter. Name it whatever you want, and proceed to the next step.

Step 6: Select Correct Filter Type

Leave the Filter type as predefined, and it should be in this order: Exclude + traffic from the IP addresses + that are equal to

look at the pic below:

Step 7: Enter Your IP Address

This is the final step you need to perform to stop google analytics from counting your visits in total visits.

Step 8: Click On Save Button

Most importantly, click on the save button to save the changes you have made.

That is it guys, now Google analytics won’t count your visits. Add every IP address you want to be excluded from Google analytics so that you can get pure results and push your website in the right direction.

Some QnA

Some questions I found relatable to the post.

What Is The Difference Between IPv6 and IPv4?

According to, the key difference between IPv6 and IPv4 is the address size of IP addresses. The IPv4 is a 32-bit address, while IPv6 is a 128-bit hexadecimal address. IPv6 gives a large address space, and it includes a simple header as compared to IPv4.

Is It Possible To Exclude Multiple IP Address?

Yes, but you have to manually add them in the Filter option of Goggle Analytics. There is no shortcut for it currently otherwise I would have informed you about it.

My Analytics IP Filter Not Working How can I fix It?

Check your current IP address, and compare it with the IP address you have put in the Filter option of Google analytics. Is it still the same? if not then kindly change your old IP with the new one.

IPv6 and IPv4 can change and day any time without prior notification, so make sure to keep an eye on it.

How Can I Remove The IP Address I Have Added?

You should not do that if you want correct data, but if you still wanna remove your IP because of some reasons, then it is simple: log in to your analytics account> Admin> All Filters> Click Delete> Delete Filter.

How To Exclude Your IP Address From Google Analytics 4 (GA 4)

GA 4 is an advanced version of Google Analytics. Mainly, e-comm website owners use GA 4 to track their site’s performance.

When you implement Google Analytics 4 on your site, you are tracking your own interactions or events as well.

It becomes an even greater problem when you’re working with a larger business (having more employees). Every visit/event made by an employee skews your data. Fortunately, this can be fixed.

Step 1: Log In Your GA 4 Dashboard

Go to and visit your GA 4 dashboard.

Step 2: Click Admin

Click on Admin to open a sub-menu.

Step 3: Choose Data Streams

choose data streams option and proceed to the next step.

Step 4: Select Your Website

Click on your website to see more options.

Step 5: Click On More Tagging Settings

Scroll down to the bottom and select the last option “More Tagging Settings”.

Step 6: Choose Define Internal Traffic

Once you click on More Tagging Settings, you’ll see a new slide with some options. Under Tag Configuration, click on Define Internal Traffic.

Step 7: Click on Create

Click on Create to create rules for the internal traffic.

Step 8: Give Name

Under Rule Name, type a name (e.g. Internal Traffic), and let traffic_type value as it is.

Step 9: Enter Your IP Address With CIDR Notation

Enter your IP Address with CIDR notation. and click Create to save the changes you have made. Also, if you don’t know your IP address, then click on What’s My IP Address.

What is CIDR Notation?

CIDR addresses are made up of 2 sets of numbers: a prefix, which is the binary description of the network address — similar to what would be viewed in a normal IP address — and a suffix, which indicates the total number of bits in the entire address. For instance, CIDR notation may look like: — with 32 being the number of bits in the address. IPv4 addresses allow a maximum of 32 bits.

The same CIDR notation can be used for IPv6 addresses. The only exception would be that IPv6 addresses can contain up to 128 bits.

For more info, click here.

(Just add /32 after your IPv4 or 128 after your IPv6)

You can add multiple IP’s once you add your first one by clicking on Add Condition.

The steps are completed.

Some QnA

Some questions I found to be relatable.

Is Google Analytics 4 better?

Yes, GA4 is more powerful than universal analytics, it shares more relevant data about why users are on your website and/or app. It enables you to combine the data from various data streams into one property and more correctly attribute actions to users across devices.

Is it still possible to create Universal Analytics?

Google is promoting GA 4 heavily, but it is still possible to use Universal Analytics account for your site. However, in my opinion, you should learn GA 4 because it shares better info than its counterpart.

How Much Does GA 4 Costs?

Well, GA 4 is 100% free. You can create your account without spending a penny, but you have to spend a little bit of your time.

Final Words

Excluding your IP address from google analytics is the best way to prevent inaccurate data. Both universal Google Analytics and Google Analytics allow you to exclude your IP, and you need to follow only a few steps to do that. Setting up a GA account is a better idea than a universal account if you own an E-comm site, but if you work on a regular blog, then it doesn’t matter much.

Thanks For Reading!


Sumit is a regular contributor to He has 6 years of experience in blogging, and he loves football, his favorite player is - Lionel Messi (GOAT), but he has no hate for Ronaldo.

Articles: 61

Leave a Reply

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