Blog

Quiet the Noise with Lowercase Google Analytics Filters

So what do Lowercase Filters in Google Analytics specifically have to do with noise?

Google Analytics Filters are set on the View Level to organize and segment data.

Let’s say you made sure to have a clean and organized tagging convention in place that neatly lines up with your measurement plan.

Only to find that your reports in Google Analytics consist of multiple rows of the same dimensions because of mixed case values.

Making it a pain in the a** to read and extract aggregate level insights.

This is where Lowercase Filters in Google Analytics come in handy.

 

How Does Google Analytics Processes Mixed Case Values?

 

Yes, Google Analytics is case sensitive.

GA will capture and display mixed case campaign parameters (utm_source, utm_medium, etc.) values as well, mixed case values within your Google Analytics reports.

Ideally, you should use standardized tagging conventions or lower case values only but:

Case sensitive consistency can be hard to maintain especially across larger teams with some team members mixing upper and others lower case values.

Sometimes UTM Parameters are forced to a lower case value resulting in Google Analytics processing and displaying these values as both upper and lower case even if all of your tags are consistent.

So in short mixed case for parameter values makes for ‘messy’ data which is hard to analyze.

 

 

Obviously, This can be annoying…

Fortunately, there are Lowercase Google Analytics Filters that can eliminate some of the noise.

 

Notes & Limitations on Lowercase Filters in Google Analytics

 

You should always have an unfiltered (raw data), test and production view.

Test any changes in your test view first since modifications such as filters permanently alter your view data.

Filters can take up to 24 hours before being applied to your data.

Filters are applied after your data is processed and you cannot apply filter changes to historical data.

 

 

Setting Up Lowercase Google Analytics Filters

 

lowercase_filters_google_analytics

 

Go to admin in your Google Analytics Account and select Filters on the far right column under view settings.

 

lowercase_filters_google_analytics

 

lowercase_filters_google_analytics_step_2

 

Click Add Filter

 

lowercase_filters_google_analytics

 

lowercase_filters_google_analytics_step_3

 

Go to the custom tab give the Filter a name and select Lowercase

 

lowercase_filters_google_analytics

 

Note Uppercase might seem like an option but remember that the uppercase Google Analytics Filter does not title case it does this ‘UPPERCASE’ 🙂

In my opinion uppercase is harder to read in GA then lower case.

 

lowercase_filters_google_analytics


In the Select field drop down you can select your campaign UTM parameters that you want to translate to lower case.

Note: You can only apply the filter to one field at a time. To force a lower case on multiple fields you will have to create a filter for each value.

 


lowercase_filters_google_analytics

 

Note: As stated above his only modifies the data moving forward all historical data will stay as is.

 

lowercase_filters_google_analytics_step_5

 

Once you have your Field selected and the given the Filter a name you can verify the data (it will run the filter on a sample of your existing data not 100% of your data) and click save.

 

lowercase_filters_google_analytics

 

That’s it you are done 🙂

It is relatively easy to set Lowercase Filters in Google Analytics for your campaign parameters.

Joining upper and lower case values, eliminates redundant rows and returns clean data for easy reporting.

 


 

Leave a comment

Your email address will not be published. Required fields are marked *

i did not understand what exactly will happen if we choose lowercase and then set a filter field? is that mean all the URL written in lowercase,uppercase and mixed will be shown as lowercase in analytics result?

Reply

Yes, all values will be passed as lower case. Since Google Analytics reporting is case sensitive it means that your report rows will now be aggregated as opposed to having separate rows for mixed-case values. Sometimes even when you set your parameter values to lowercase they can get translated as upper case. This alleviates the reporting headaches that can come from mixed-case values.

Reply

This is a great article. However, since filters filter IN ORDER, what is the specific order you should add your lowercase filters (firsto URI REQUEST, second filter to CAMPAIGN SOURCE, etc., so that you dont accidentally filter out first any data that will no show up because you filtered one lowercase category first? Thanks let me know!

Reply

This varies on a case by case basis. If you are filtering data that cannot be identified prior to the application of a previous filter than you will have to reorder the sequence. Luckily GA makes it pretty easy to reorder filters 😃

Reply

I noticed that not all field are available, for example the Order Promotion Code from Enhanced Ecommerce Reporting. Any idea how to make all promotion codes come in capitalized?

Reply

The initial value that you pass for your order code needs to be capitalized. If users can enter lower and upper case promo codes then you need to have dev create a script that changes all promo code values to upper case on the backend once the user submits the promo code.

Reply

Thanks for the great tutorial. Do you know if applying a lowercase filter will impact query parameters that contain capital letters that are in the ‘Exclude URL Query Parameters’ in the view settings.

I guess i’m trying to understand whether Google applies the filter first, and then excludes the query parameters or vice versa.

Thanks!

Reply

Filters are processed sequentially meaning each Filter is applied in their respective order. So when applying changes to the same data type the order does matter. SeerInteractive has a good post on this here Google Analytics: Filters Order Matters

Reply