Google Analytics IP filter not working? Here is how to fix it.

One of the issues I often see, is that the IP based view filters in Google Analytics not working for many people.

If you are currently facing this problem then follow the steps below:

Step-1: Check your current IP address by using this tool http://test-ipv6.com/.

Step-2: Compare your current IP address with the IP address that you excluded via your IP based view filter in Google Analytics. Is it still the same? If not, then remove your old IP address and exclude your current IP address.

Note: Whether you use IPv4 or IPv6 based address, they both can change any day, any time without any prior notice.

Because of this reason, IP based view filters are not effective in excluding internal traffic in Google Analytics.

The best way to block internal traffic in Google Analytics is by using the ‘Google Analytics Opt out Add-on

Get the E-book (52 Pages)

Get the E-Book (37 Pages)

 

If you current IP address matches the one you excluded via GA view filter then make sure:

#1 You are not testing your IP based filter on historical data (like Google Analytics data from yesterday). This is because filters in Google Analytics do not work retroactively. They start working only from the day and the minute, they are first created. So do not use historical data to test your new IP based filter.

#2 Filters in GA can take some time to start working. So do not test your filter as soon as you create/modify it. Wait for at least 15 to 20 minutes before you start the test. Sometimes it may take up to 24 hours for your new filters to start working.

Note: Google Analytics built-in filter verification tool can not test/verify IP based filters:

#3 Do not use browser based tools (like ‘Google developer console’, ‘Google Tag Assistant’) to test GA filters.

This is because filters in Google Analytics work after a hit has been sent to your GA server and before it is processed and reported in your reports.

But browser based tool like ‘Google developer console’, report on a hit as soon as it is sent to Google Analytics server.

So if you use ‘Google developer console’ to test your IP filter, you would see the hit being sent to the GA server, even when you have excluded your IP address via the view filter.

So you may conclude that your IP filter is not working, when in reality it is working.

Similarly, ‘Google Tag Assistant’ will report that your Google Analytics tag is firing even when you have excluded your IP address via the view filter.

So both ‘developer console’ and ‘tag assistant’ tools are not useful for testing any GA filter (and not just IP based filters).

If your IP based filter is working correctly, you should not see any internal traffic in your GA reports, not even in your ‘Real time reports’.

But sometimes, ‘Real time’ reports in GA produce false negatives results (i.e. show that the IP based view filter is not working when in reality it is).

Also if you are getting lot of traffic, then finding your specific GA session in real time reports won’t be possible. 

So do not rely on just ‘real time reports’ for testing your view filters.

How to correctly test your IP based view filter in Google Analytics

Follow the steps below:

Step-1: Install Google Tag Assistant chrome extension and then enable it.

Step-2: Install Google Analytics debugger chrome extension and then enable it.

Step-3: Switch on the Google Analytics debugger by clicking on its icon on the top right hand side of your browser address bar:

Step-4: Right click on the tag assistant icon and then select ‘Options:

Step-5: Change the ‘Level of Details’ for all Google tags to ‘Detailed Information’:

Step-6: Within the tag assistant options, make sure that the ‘Recording: Follow Links Across Tabs’ checkbox is checked:

Step-7: Click on the Google Tag Assistant icon again and then click on the ‘Menu’ button. Make sure that ‘Auto Validation’ and ‘GA Debug’ settings are turned ON:

Step-8: Login to your Google Analytics account and make sure that you have at least ‘read and analyze’ permission at the view level for the view whose data you are going to analyze via Google tag assistant recording.

Step-9: Navigate to the one of the web page of your website on which Google Analytics is installed.

Step-10: Click on the Google Tag Assistant icon again and then click on ‘Menu’ button > ‘Show in separate tab’. The ‘Show in separate tab’ menu item will open the Google Tag Assistant in a separate browser tab:

Step-11: Click on the ‘Record’ button at the bottom of the ‘Result of Tag Analysis’ window:

Step-12: Now reload the web page from where you want to start the recording. This reload will send a request/hit to Google Tag Assistant and your recording will actually start.

Step-13: Click on the ‘Stop recording’ button:

Step-14: Click on the ‘Show Full Report‘ button:

Once you clicked on this button, you will be redirected to ‘Google Tag Assistant Recordings’.

Step-15: Click on the ‘Google Analytics Reports’ tab:

Step-16: Select your GA property and view. You will then see the ‘Google Analytics report’ of the tag assistant recording.

Step-17: Click on the ‘change location’ link on the left hand side of the ‘Google Analytics report’:

Step-18: Select the option button ‘Use a specific IP address’ and then enter the IPv6 based IP address you want to test:

Step-19: Click on the ‘update’ button to start the test. Once the test is complete, scroll down to the bottom of the Google Analytics report and click on ‘Page Load’ under the ‘Flow’ section:

Step-20: Click on ‘Hit 1’:

Step-21: Now look for following similar message under ‘Mutations’: ‘Hit dropped by filter exclude internal traffic

Note: Here ‘exclude internal traffic’ is the name of my IP based filter.

This message confirms that your IPv6 based filter is working.

On the other hand if you filter is not working then you will see following similar message under ‘Mutations’:

Related Article: How to turn on IP Anonymization in Google Analytics and Google Tag Manager

 

Do you know the difference between Digital Analytics and Google Analytics?


99.99% of course creators themselves don’t know the difference between Digital analytics, Google Analytics (GA) and Google Tag Manager (GTM).

So they are teaching GA and GTM in the name of teaching Digital analytics.

They just copy each other. Monkey see, monkey do.

But Digital analytics is not about GA, GTM.

It is about analyzing and interpreting data, setting up goals, strategies and KPIs.

It’s about creating strategic roadmap for your business.


Digital Analytics is the core skill. Google Analytics is just a tool used to implement ‘Digital Analytics’.

You can also implement ‘Digital analytics’ via other tools like ‘adobe analytics’, ‘kissmetrics’ etc.

Using Google Analytics without the good understanding of ‘Digital analytics’ is like driving around in a car, in a big city without understanding the traffic rules and road signs.

You are either likely to end up somewhere other than your destination or you get involved in an accident.


You learn data analysis and interpretation from Digital analytics and not from Google Analytics.

The direction in which your analysis will move, will determine the direction in which your marketing campaigns and eventually your company will move to get the highest possible return on investment.

You get that direction from ‘Digital analytics’ and not from ‘Google Analytics’.


You learn to set up KPIs, strategies and measurement framework for your business from ‘Digital analytics’ and not from ‘Google Analytics’.

So if you are taking a course only on 'Google Analytics’, you are learning to use one of the tools of ‘Digital analytics’. You are not learning the ‘Digital analytics’ itself.

Since any person can learn to use Google Analytics in couple of weeks, you do no get any competitive advantage in the marketplace just by knowing GA.

You need to know lot more than GA in order to work in digital analytics and marketing field.


So what I have done, if you are interested, is I have put together a completely free training that will teach you exactly how I have been able to leverage digital analytics to generate floods of news sales and customers and how you can literally copy what I have done to get similar results.

Here what You'll Learn On This FREE Web Class!


1) The number 1 reason why most marketers and business owners are not able to scale their advertising and maximise sales.

2) Why you won’t get any competitive advantage in the marketplace just by knowing Google Analytics.

3) The number 1 reason why conversion optimization is not working for your business.

4) How to advertise on any marketing platform for FREE with an unlimited budget.

5) How to learn and master digital analytics in record time.

 
 

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and Beyond
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

Himanshu Sharma

Digital Marketing Consultant and Founder of Optimizesmart.com

Himanshu helps business owners and marketing professionals in generating more sales and ROI by fixing their website tracking issues, helping them understand their true customers purchase journey and helping them determine the most effective marketing channels for investment.

He has over 12 years experience in digital analytics and digital marketing.

He was nominated for the Digital Analytics Association's Awards for Excellence.

The Digital Analytics Association is a world renowned not-for-profit association which helps organisations overcome the challenges of data acquisition and application.

He is the author of four best-selling books on analytics and conversion optimization:

error: Alert: Content is protected !!