Guides> Google Analytics Guide

Setting up filters to filter out irrelevant traffic in Google Analytics

Setting up filters to filter out irrelevant traffic in Google Analytics

Google Analytics 4 (GA4) – An Essential Tool for Businesses

Google Analytics 4 (GA4) is an essential tool for any business or marketer who wants to track and analyze their website or app statistics. However, often irrelevant traffic, such as bots or internal traffic, can distort your data. To combat this problem, you can set up filters that will help filter out unwanted traffic and focus on the data that really matters. In this article, we’ll look at how to set up 15 GA4-style filters that will fit comfortably into your workflow.

1. Understanding the meaning of filters in Google Analytics 4

Filters in GA4 allow us to include or exclude traffic in a certain way. They give you the ability to generate more accurate data about the actual traffic coming to your site or app. What’s new in GA4 is access to customized filter data and greater control for users.

Tip: When setting up filters, it’s important to test their impact on your data before you apply them regularly. Try running your filters in preview mode to make sure they don’t accidentally filter out important information.

2. Internal traffic filters

Traffic originating from company employees often skews statistics. In GA4, you can set filters to filter out certain IP addresses so that internal traffic doesn’t affect the data.

How to set up a filter for internal traffic

To configure a filter for internal traffic, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Data Streams” and then on the appropriate stream.
  4. Scroll down until you reach “More Tagging Settings” and click “Define Internal Traffic”.
  5. Add the IP address you want to filter.

3. Filters for Testing Test Accounts

If you have test or development accounts, setting them up separately with filters will help prevent their data from being mixed with real users’ data.

Setting up filters for test accounts

To set up filters for test accounts, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Data Filters”.
  4. Select the “Create Filter” option and define the criteria that will differentiate the test accounts.

4. Using Filter by Geography

Using geographic filters, you can focus on user traffic from specific geographic locations and thus obtain more accurate insights.

How to set up a geofilter

To set up a geofilter, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Data Filters”.
  4. Select the “Create Filter” option and define the geographic criteria.

5. Setting demographic filters

Demographic filters can help you better understand which audiences are visiting your site and how you can improve their user experience.

Setting demographic filters

To set up demographic filters, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Audience Definitions”.
  4. Select the “Create Audience” option and define the demographic criteria.

6. Using filters by traffic source

Filtering by traffic source (Source/Medium) allows you to more clearly understand the sources that refer users to you, such as social networks, sponsored campaigns, or organic.

Example: If you are running a campaign on Facebook, you can set a filter that will only display traffic coming from that campaign, thus testing its effectiveness more accurately.

Setting a filter by traffic source

To set up a filter by traffic source, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Data Filters”.
  4. Select the “Create Filter” option and define the criteria according to the traffic source.

7. Filters adapted to events (Events)

You can set filters based on specific events defined in GA4, so you can focus only on the events that are important to you.

Setting filters for events

To set event filters, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Events”.
  4. Select the event you want to filter and define the criteria.

8. Filtering Unauthenticated Traffic

These filters are designed to filter out traffic from bots and other unverified sources that could corrupt your data.

Setting up filters to filter out unverified traffic

To set up filters to filter out unverified traffic, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Data Filters”.
  4. Select the “Create Filter” option and define the criteria for filtering unverified traffic.

9. Using the filter by device type

Device Type filters can help you understand which types of users are accessing your site via desktop, mobile, or tablet, and improve the user experience accordingly.

Setting filters by device type

To set up filters by device type, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Data Filters”.
  4. Select the “Create Filter” option and define the criteria by device type.

10. Set up a filter to filter new vs. returning visitors

These filters allow you to separate new and returning visitors and provide different insights between them.

Setting filters for new and returning visitors

To set up filters for new and returning visitors, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Audience Definitions”.
  4. Select the “Create Audience” option and define the criteria for new and returning visitors.

11. Filters by time

These filters can help define time ranges (such as days, weeks, or months) to understand specific periods of increased or decreased activity.

Idea: Try setting up filters that check traffic during holidays or special events to see how they affect your site’s activity.

Setting filters by time

To set filters by time, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Data Filters”.
  4. Select the “Create Filter” option and define the criteria by time.

12. Filters by user language

By filtering by user language, you can focus on certain languages ​​and convey the message to audiences in specific speaking groups.

Setting filters by user language

To set filters by user language, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Data Filters”.
  4. Select the “Create Filter” option and define the criteria according to the user’s language.

13. Filters by UTM parameters

Setting up filters based on UTM parameters can help you derive insights directly from specific marketing campaigns.

Setting filters by UTM parameters

To set up filters based on UTM parameters, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Data Filters”.
  4. Select the “Create Filter” option and define the criteria according to UTM parameters.

14. Heatmap performance filters

Heatmaps have the ability to show you where users have spent their time, and these filters can help analyze and understand user movement based on the information from the heatmaps.

Setting filters by heatmaps

To set up filters based on heatmaps, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Data Filters”.
  4. Select the “Create Filter” option and define the criteria according to heat maps.

15. Filters to filter users by usage pattern

Filters that allow you to filter by certain usage patterns such as time spent on the site, number of pages viewed, etc. can provide more detailed insights into user activity.

Setting filters by usage pattern

To set up filters by usage pattern, follow these steps:

  1. Go to GA4 and click on “Admin”.
  2. Select the property where you want to set the filter.
  3. Click on “Data Filters”.
  4. Select the “Create Filter” option and define the criteria according to usage patterns.

Description of screen suggestions

  • Screenshot Suggestion: Add a screenshot of the filter settings on the GA4 admin page, showing the menu and location of the filter settings.
  • Screenshot Suggestion: Take a screenshot of the IP filtering settings accessible on the Data Settings page.
  • Screenshot Suggestion: Add a screenshot of filters by traffic source in GA4, demonstrating the division of sources by category.

summary

In this article, we reviewed 15 important filters in Google Analytics 4 that can improve your data analysis. Each filter offers a unique way to filter and analyze traffic to your website or app, so you can gain more accurate insights about your users.

It’s important to remember that setting up filters is an ongoing process, and you should regularly review their impact on your data. Over time, you can refine your filter settings and adapt them to the changing needs of your business.

Good luck analyzing your data with GA4!