Skip to Content
Google Analytics
book

Google Analytics

by Justin Cutroni
August 2010
Beginner to intermediate
216 pages
5h 50m
English
O'Reilly Media, Inc.
Content preview from Google Analytics

Chapter 6. Filters

There is no Google Analytics concept that is more important but less understood than filters. Functionally, filters are business rules. You add them to a profile when you have a business need to modify the data in a profile. For example, it is very common to exclude website traffic generated by internal employees. This data can skew the data generated by actual customers, thus causing incorrect analysis.

You can apply multiple filters to a profile to create data that meets your needs and the needs of your organization.

The key to understanding filters is understanding how Google Analytics structures website data. I discussed this earlier in Chapter 3; if you have not read that chapter, please do so.

There are two types of filters in Google Analytics: predefined filters and custom filters. Predefined filters are common filters that most people use. Google has bundled these common filters together and simplified their implementation.

Custom filters are different. You need to do all the configuration work when creating a custom filter. While it can be challenging, custom filters truly offer you advanced control over the data in your profiles.

In general, custom filters and predefined filters work on the same premise. Filters involve three components:

  • Filter field

  • Filter pattern

  • Filter type

As Google Analytics processes site data, it executes the filters that have been applied to the profile. When a filter executes, Google Analytics compares the filter pattern against the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Google Analytics

Google Analytics

Justin Cutroni
Web Analytics

Web Analytics

Avinash Kaushik

Publisher Resources

ISBN: 9781449394608Errata Page