Google Analytics 4 Filters: The Good, the Bad, and the Unpleasant

Google Analytics 4 Filters: The Good, the Bad and the Unpleasant
Estimated Reading Time: 5 minutes

Google Analytics 4 (GA4) filtering when compared to Universal Analytics (UA) is clearly more restrictive. Gone are the days of filtering by URL string. Due to the event-based model, GA4 filtering is very minimalistic, currently only permitting the filtering of internal traffic by IP address. Furthermore, IP ranges must be specified by CIDR notation. What filtering was lost in the configuration of properties, however, is now to be found in reporting—namely within the GA4 “Explorer” reports. All this speaks to the new data model of GA4—flat, simple, and scalable, as well as far better suited to report user engagement across domains and platforms—all while respecting user preferences for privacy in the absence of third-party cookies. 

The good:

  • Bot filters are automatically implemented
  • Filters can be tested before implementation
  • Filtering easier to manage due to simplicity

The bad:

  • Only filtering options are for internal users and developers
  • View of “raw” data unavailable  
  • Filters cannot be shared

The unpleasant:

  • Filtering configurations are made for each property’s datastream
  • Use of Regex not available for specifying IP ranges
  • IP range filtering only available via CIDR notation

Configuring GA4 Filters 

Although implemented at the property level, GA4 filters are configured within the datastream component. For each GA4 property datastream, buried within the tag configure settings, configuration may be made—specifying IP address for visits considered “internal”. By default, the internal IP address populates the traffic_type parameter with a value. Several options exist for identifying IP addresses; unfortunately Regex is not an option. IP range identification is now configured making use of CIDR notation. For each datastream, up to 10 filters may be configured and for each filter, 10 fields are available—so there’s plenty of room for designation of internal visitor IP addresses, especially if CIDR (Classless Inter-Domain Routing) notations are used.

What Is CIDR Notation and Why Should I Care?

CIDR notation is a way to efficiently represent ranges of IP addresses. When a range of IP addresses is expressed in CIDR notation, indicated are how many of the bits are fixed and how many can be of any value. Although simple, the paradigm can be tough to grasp for those used to Regex expressions for the configuration of IP ranges. Many CIDR notation generators exist online and can be an extremely useful resource.

Are There Any Other Options to Implement Filtering within GA4?

Google Analytics 360 provides the option of subproperties. The filtering associated with subproperties is subject to the events associated with the source property. Again, reflecting the new event-based model of GA4, subproperties, although providing a filtering method not available in regular GA4 properties, have limitations. InfoTrust does not recommend considering subproperties as a replacement for filtered views found in UA. With Google Analytics 360 subproperties, filters are configured using event parameters. These include event-scoped dimensions such as geography. Unfortunately, user properties cannot be used for filters. Also, there are some automatically generated events that will only have some standard event parameters. Despite these restrictions, some consistently collected attributes may be used when configuring subproperty event-based filters.

What to Consider When Implementing Internal Visitor Filters

Internal filters require not only initial configuration, but also maintaining the list of IP addresses to keep the filters relevant. This important maintenance element must be considered when deploying internal GA4 filters across various properties. For companies where internal visitor activity is of explicit interest, one strategy is to make use of a dedicated GA4 property exclusively filtering on internal visitors and also deploy the GA4 property across all digital properties—albeit at the cost of an additional property. This way only one GA4 property requires configuration and maintenance of internal IP addresses. Reporting for the individual digital properties can be made via filtering by datastream. 

Pro tip: Making internal filters “active” will remove this user attribute from your BigQuery data feed. Keeping the internal filters in perpetual “test” mode will allow the users with this internal visitor attribute to be passed via BigQuery for analysis outside of GA4.

Final Thoughts about GA4 Filtering

GA4 continues to rapidly evolve, so filtering enhancements will hopefully be introduced (e.g. use of Regex). However, at this time the only filtering options available are those for internal visitors and developers. The value of filtering out traffic from internal visitors will vary by business and industry. For some companies, valuable intelligence is provided by knowing how employees engage with a public-facing website. Having said this, the effectiveness of internal visitors, however, has increasingly become challenging with more employees working remotely and not making use of a VPN connection. In summary, the configuration, implementation, and maintenance of internal filters will be based on business needs.

Still confused about Google Analytics 4 filtering?

Our team of experts is here to help whenever you need us.

Author

Facebook
Twitter
LinkedIn
Email
Originally Published: November 9, 2022

Subscribe To Our Newsletter

November 9, 2022

Other Articles You Will Enjoy

App Install Attribution in Google Analytics 4: What You Need to Know

App Install Attribution in Google Analytics 4: What You Need to Know

App install attribution in Google Analytics for Firebase (GA4) is a feature that helps you understand how users discover and install your app. It…

6-minute read
Leveraging Custom Dimensions and Metrics in Google Analytics 4 for Content Performance Measurement: Best Practices and Real-World Examples

Leveraging Custom Dimensions and Metrics in Google Analytics 4 for Content Performance Measurement: Best Practices and Real-World Examples

In today’s digital landscape where content reigns supreme, understanding how your audience interacts with your content is paramount for success. For news and media…

5-minute read
Predictive Analytics in Google Analytics 4: How to Use Machine Learning to Forecast User Behavior and Outcomes

Predictive Analytics in Google Analytics 4: How to Use Machine Learning to Forecast User Behavior and Outcomes

Google Analytics 4 (GA4) is embracing the power of machine learning by incorporating predictive analytics within the platform so that you can use your…

7-minute read
How Data Maturity Can Cultivate a Data-Driven Culture

How Data Maturity Can Cultivate a Data-Driven Culture

Data-driven decisions are a buzz topic in Martech. It is essential for C-suite executives to understand and more importantly, use their data to move…

4-minute read
How to Integrate Google Analytics 4 with BigQuery for Enhanced Data Analysis and Reporting

How to Integrate Google Analytics 4 with BigQuery for Enhanced Data Analysis and Reporting

Has your business found that its reporting needs require advanced analysis of your analytics data beyond what is practical in the Google Analytics 4…

4-minute read
Leveraging Attribution Models in Google Analytics 4 to Improve Your Marketing Strategy: Tips and Best Practices

Leveraging Attribution Models in Google Analytics 4 to Improve Your Marketing Strategy: Tips and Best Practices

In the dynamic landscape of digital marketing, understanding the customer journey is crucial for optimizing strategies and maximizing ROI. Google Analytics 4 (GA4) introduces…

5-minute read
Deploying Digital Analytics Changes at Scale for CPG and Multi-Brand Organizations

Deploying Digital Analytics Changes at Scale for CPG and Multi-Brand Organizations

The digital analytics industry is going through seismic shifts, and it is important for CPG organizations to stay abreast of the changes and stay…

5-minute read
Tracking User Behavior with Events in Google Analytics 4: Examples and Use Cases

Tracking User Behavior with Events in Google Analytics 4: Examples and Use Cases

So you’ve created your Google Analytics 4 (GA4) properties, created your data stream(s), and followed all the necessary steps to configure your property. Now…

5-minute read
What Is Consent Mode in Google Analytics 4 and How Does It Work? | A Beginner’s Guide

What Is Consent Mode in Google Analytics 4 and How Does It Work? | A Beginner’s Guide

Consent Mode in Google Analytics 4 (GA4) is a helpful tool for website owners to respect user privacy preferences when it comes to tracking…

3-minute read

Get Your Assessment

Thank you! We will be in touch with your results soon.
{{ field.placeholder }}
{{ option.name }}

Talk To Us

Talk To Us

Receive Book Updates

Fill out this form to receive email announcements about Crawl, Walk, Run: Advancing Analytics Maturity with Google Marketing Platform. This includes pre-sale dates, official publishing dates, and more.

Search InfoTrust

Leave Us A Review

Leave a review and let us know how we’re doing. Only actual clients, please.