Google Analytics Filters (UA)

Universal Analytics until June 2023

In order to filter your data to specific google analytics fields (like traffic sources, target groups, segments) and much more you are able to use the UA filter syntax:

If you for example would like to get your KPIs filtered to only include traffic from social media “LinkedIn” you can use the following expression:

ga:medium==social;ga:source==linkedin

It is also supported to use OR expressions. The example below shows how to define traffic can come from “youtube” OR “instagram” OR “facebook” OR “twitter”

ga:source=@facebook,ga:source=@youtube,ga:source=@instagram,ga:source=@twitter

 

A list of the supported fieldnames can be found here:
https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema

Please visit the following link to find more details about the possible syntax expressions:
https://developers.google.com/analytics/devguides/reporting/core/v3/reference

Bild6