How to filter out and remove Google Analytics language spam

Filtering Google Analytics language spam
Zach Zach (233)
Total time: 2 minutes 

Google Analytics spam is nothing new. But now spammers have realized that, since language appears in the initial Google Analytics dashboard view, spoofing the language code reaches eyeballs.

I logged into GA today to find a new language setting: "Secret.ɢoogle.com You are invited! Enter only with this ticket URL. Copy it. Vote for Trump!" I don't think that's a language.

This guide will show you how to filter out language spam from your Google Analytics (i.e. Universal Analytics) views.

Posted in these interests:

webdev
PRIMARY
58 guides

Log into Google Analytics and navigate to Admin > Filters. Be sure to select the appropriate View first (if you use multiple Views). Then, click Add Filter.

Google Analytics spam filters in view

Create a new Custom Filter using the following filter pattern, selecting Language Settings as the Filter Field:

.{12,}|\s[^s]*\s|\.|,|\!|\/

Save the filter. You're done!