How to fix the ‘Vote For Trump’ bot in Google Analytics

November 25, 2016 by Anubhav Tiwari

So recently, I was going through our Google Analytics Account to analyze the traffic for the month of November. I found that we are getting unusual traffic from places which looked suspicious. After doing some research, I found that this is a widespread Google

Analytics ‘Vote For Trump bot’ and many websites are being affected by this.

Screenshot below shows how the ‘Vote For Trump’ bot appears in Google Analytics under the Language section:

image1

Our website was getting a large chunk of traffic from some source, which was mentioned as “Secret.google.com You are invited! Enter only with this ticket URL. Copy it. Vote for Trump!”

So, some Language mentioned as- “Secret.google.com You are invited! Enter only with this ticket URL. Copy it. Vote for Trump!”, was sending the third-highest traffic to our website. It was quite obvious that traffic is Sammy. Without investigating further, I tried to find the source of the referral traffic and found something exciting. We were getting traffic from thenextweb.com!!!

image2

But the excitement died as I clicked on the source. It leads me to the same referral path which looked something like this:

image3

This link lead me to TNW Article which said –

“The spammer we’ve written about below is using the Google Analytics Measurement Protocol to create hits and send those to your Google Analytics property. These hits seem like they’re coming from this page or another page on thenextweb.com, but they’re not.”

So yes, this was a ‘Vote For Trump bot’ and more details can be found here.

But how to fix this spam traffic?

You can try the following steps to filter the traffic coming from this bot:

  1. Go to Google Analytics > Admin > Filters > Add Filters

  2. Add the filter like below: 

    image4

  3. ‘Verify’ and ‘Save’ the filter 

    image5

And you are done. When you click on ‘verify’, the blank cells in the ‘After’ column indicate that the filter is working fine.

image6



UPDATE December 15th, 2016:

People are observing spam traffic from the below sources as well:

  1. Vitaly rules google ☆*:。゜゚・*ヽ(^ᴗ^)ノ*・゜゚。:*☆ ¯\_(ツ)_/¯(ಠ益ಠ)(ಥ‿ಥ)(ʘ‿ʘ)ლ(ಠ_ಠლ)( ͡° ͜ʖ ͡°)ヽ(゚Д゚)ノʕ•̫͡•ʔᶘ ᵒᴥᵒᶅ(=^ ^=)oO
  2. o-o-8-o-o.com search shell is much better than google!
  3. Google officially recommends an o-o-8-o-o.com search shell!

These bots can also be filtered out of GA using the steps explained above.

Some useful reading to tackle bots traffic

 

  1. The best blog I have come across to tackle spam traffic is ‘Definitive Guide to Removing All Google Analytics Spam’
  2. thenextweb.com justification on the spam can be read here: ‘A Russian Trump fan is celebrating by hacking Google Analytics’
  3. Read on how to verify your filter by Carlos Escalera
  4. Learn more about Language Filters
  5. Post by Google on Creating and Managing Filters

So that’s how you can tackle the “Vote for Trump” bot. Hope you find this helpful. And do let us know if you have spotted unusual traffic on your site. It’s always great to compare notes.