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.
Facebook
Twitter
LinkedIn
Email
Last Updated: November 9, 2022

Other Articles You Will Enjoy

How To Fix Multiple Payment Method Issues In Google Analytics

How To Fix Multiple Payment Method Issues In Google Analytics

Most online businesses, including eCommerce, accept payment online using multiple payment methods. These payment methods may include PayPal, card payment, Stripe, etc. This is…

5-minute read
What Do Media Companies Need to Know about Google Analytics 4?

What Do Media Companies Need to Know about Google Analytics 4?

So we all know that Google Analytics 4 is coming and coming fast. And we know if you use Google Analytics that you will…

6-minute read
Google Signals in Google Analytics 4 and How It Impacts Your Audience Strategy

Google Signals in Google Analytics 4 and How It Impacts Your Audience Strategy

About Google Signals Google Signals is an analytics feature provided by Google that enables cross-device reporting and remarketing. Integrated with Google Analytics, Signals helps…

9-minute read
How Data Minimization Benefits CPG Organizations

How Data Minimization Benefits CPG Organizations

It seems almost paradoxical: you can spend less money maintaining your data collection framework, reduce your compliance risk, and improve the quality of your…

5-minute read
Four A/B Testing Platforms to Consider When Planning for the Sunset of Google Optimize

Four A/B Testing Platforms to Consider When Planning for the Sunset of Google Optimize

Google recently announced that both Google Optimize and the Google Optimize integration with Google Analytics 4 (GA4) will sunset on September 30, 2023. After…

11-minute read
Google Releases A/B Testing Partners to Replace Google Optimize at Sunset

Google Releases A/B Testing Partners to Replace Google Optimize at Sunset

As Google continues on the path towards creating a better overall experience for experiments in Google Analytics 4 (GA4), they recently announced more news…

2-minute read
Better Conversion Data with Looker Studio

Better Conversion Data with Looker Studio

Conversion rates are a simple percentage of “how many people visited my website vs. how many people fulfilled the site’s objective?” As kids, that…

8-minute read
Google Analytics Consent Mode | A Conceptual Review

Google Analytics Consent Mode | A Conceptual Review

Introduction Google Analytics Consent Mode is a new functionality for Google Analytics 4 (GA4) that provides a solution for the challenge of reporting user…

4-minute read
Considerations When Migrating from Adobe Analytics to Google Analytics 4

Considerations When Migrating from Adobe Analytics to Google Analytics 4

Migrating from one analytics platform to another can be compared to moving from one house to another. Just like how you carefully plan and…

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