Bot Block – Stop Spam Referrals in Google Analytics

Block spam referrals showing in Google Analytics and save bandwidth. Central database of sites, ability to add custom URL's and stats.

This plugin has two main functions:

  1. To stop spam traffic before it reaches your site (which stops spam visits showing in Analytics).
  2. Save bandwidth, bots use bandwidth when they visit your site, this plugin stops them before they get the chance to download anything.

Spam traffic is an increasing problem, companies like semalt are spamming sites in order to get their website shown within Google Analytics as a referrer (also known as referral spam). More spammers are beginning to take this approach and this causes issues for any Analytics user that relies on the data collected since pageviews and visitors are inflated.

Spammers have even taken this a step further by triggering events, which of course can effect conversion data.

This plugin is built to stop this, it blocks spam bots before your website loads which not only stops the traffic appearing within Google Analytics but it also saves you Bandwidth.
The spam bots blocked are pulled from a central database of known bots, this database is updated as new spam bots are found, you also have the option to add your own referrer URL’s to block.

Features Include:

  • Central database containing tons of known spam bots
  • Ability to add your own custom referrer domains to block
  • You can either 301 the spam traffic to another site OR show a 403 error message to spammers
  • Full statistics, detailing most blocked bots, total blocks and number of sites in block list
  • Ability to block all subdomains of a domain e.g.
  • Video showing you how to block ‘ghost referrers’ (the spam that cannot be blocked since they do not visit your site)
  • The ability to contribute to our growing list of spam bots


seo, SEO, google, google analytics, google analytics spam, spam, bot block, bot blocker, bot blocking, block bots, semalt, 100dollarsseo, analytics spam blocker

  1. Upload the bot block folder to the /wp-content/plugins/ directory
  2. Activate the Bot Block plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin by going to the Bot Block menu that appears in your admin menu under ‘Settings’

I am still seeing spam traffic showing in Analytics

Watch the video within the plugins settings page – to block 100% of the spam traffic it is a 2 step process

Can I see the full list of blocked sites?

Yes go here:

Something has gone wrong and my site isn’t working

Disable the plugin, if you cannot get into your admin area delete the plugin files via FTP. Then drop us a message on the support page.


  • Added screenshots to the plugin page on


  • Added compatability for WordPress 4.4.2
  • Hopefully fixed the empty needle error


  • Added compatability for WordPress 4.4


  • Added compatability for WordPress 4.3.1


  • Data now gets sent and received daily instead of hourly.


  • Fixed conflict with loading page plugin.


  • Minor updates.


  • Added notice to direct people to the second step to block 100% of the referral spam.


  • Minor update to fix image in plugin options.


  • Updated copy on plugin settings page and edited readme file.
  1. Plugin Settings Page.

    Plugin Settings Page.

  2. Stats found within plugin.

    Stats found within plugin.