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

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
Advanced Analysis Techniques in Google Analytics 4: How to Use AI-Powered Insights and Predictive Analytics for Effective Marketing

Advanced Analysis Techniques in Google Analytics 4: How to Use AI-Powered Insights and Predictive Analytics for Effective Marketing

AI-powered insights and predictive analytics are revolutionary tools reshaping the modern marketing landscape. These advanced analytics techniques, particularly prominent in Google Analytics 4 (GA4),…

8-minute read
Google Analytics 4 Implementation Checklist: Ensure You’re Tracking Everything You Need

Google Analytics 4 Implementation Checklist: Ensure You’re Tracking Everything You Need

In the dynamic landscape of digital marketing, data is supreme. Understanding user behavior, preferences, and interactions on your website is crucial for making informed…

4-minute read
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
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 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
Is It Time to Upgrade? 4 Signs Your Organization Needs Google Analytics 4 360

Is It Time to Upgrade? 4 Signs Your Organization Needs Google Analytics 4 360

As VP of Partnerships at InfoTrust, I’ve had the opportunity to talk with hundreds of decision-makers about their interest in upgrading to Google Analytics…

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

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.