How to filter out and remove Google Analytics language spam

Zach Zach (249)
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.ɢ 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:
h/webdev60 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:


Save the filter. You're done!