Home Back to Better Graph
23.12.14 27

How to Block Spam Bot Referral Traffic From darodar, ilovevitaly, hulfingtonpost and blackhatworth

spam traffic

You might be aware about darodar, econom, ilovevitaly referral spam traffic and now the new rising is hulfingtonpost and blackhatworth as these are spam traffic that are showing in Google Analytics as referral traffic but this is spam and is not good for website. We are going to show you how we can block these spam referral traffic with just single javascript code or php code. You only need to add some simple code in your website.

If you are getting referral URL in Google Analytics that looked a bit like this:
spam traffic

This is a Russian spam network that entices webmaster and it show as affiliate links in Google Analytics. This is a black hat SEO (old time affiliate marketer) techniques that showing in our Analytics result. They simply put 301 redirection and website (darodar referral spam) redirect to any other website.

Here are few steps to block this spam traffic in your Analytics:

 

  1.  Block Darodar.com, econom.co etc through .htaccess: Simply add below code in your .htaccess file

SetEnvIfNoCase Referer darodar.com spambot=yes
Order allow,deny
Allow from all
Deny from env=spambot

It basically sets a variable called “spambot” – then it assigns all visits from spam sites as that variable. Then it block that variable from entry to your website.

  2.   Filter Spam Traffic in Google Analytics: If you want to identify real traffic that comes to your pages you can use bot and filtering options in Google Analytics.

You need to go: Admin -> View -> View Setting You will see screen like below:

spam filter traffic

Now use below instructions:

analytics filter

 

3. Add Code in website Header: Add below code in website head tag means before closing head tag:

<script type=’text/javascript’>
var blocklink = ['http://darodar.com', 'http://econom.co',’http://ilovevitaly.com];
for (var b = blocklink.length; b–;) {
if (document.referrer.match(blocklink[b]))
window.location = “http://google.com/”;
}
</script>

php website user has to add below code in header.php file of theme folder:

<?php
echo”<script language=’javascript’>
var blocklink = ['http://darodar.com', 'http://econom.co',’http://ilovevitaly.com'];
for (var b = blocklink.length; b–;) {
if (document.referrer.match(blocklink[b]))
window.location = “http://google.com/”;
}
</script>
“;
?>

Please share this blog and comment when any unknown traffic shows in your analytics or if you have any question regarding spam traffic.

Spammy Referral Websites List:

forum20.smailik.org
o-o-6-o-o.com
humanorightswatch.org
darodar
econom
ilovevitaly
hulfingtonpost
blackhatworth
bestwebsitesawards.com
mail.ilovenewdelhi.com
social-buttons.com
buttons-for-website.com
s.click.aliexpress.com
sexyteens.hol.es
buy-cheap-online.info
theguardlan.com
googlsucks.com
free-share-buttons.com
us.wow.com
pornhub-forum.uni.me
pornhub-forum.ga
generalporn.org
amanda-porn.ga
meendo-free-traffic.ga
sanjosestartups.com
semalt-semalt
yourserverisdown
e-buyeasy
sexyali.com
qualitymarketzone.com
event-tracking.com
chinese-amezon.com

Additional resources

Here is list of other great posts If you are looking for more info of spam traffic

https://moz.com/blog/how-to-stop-spam-bots-from-ruining-your-analytics-referral-data
http://blog.raventools.com/stop-referrer-spam/
http://www.quora.com/How-do-I-block-spam-bot-referral-traffic-through-darodar-econom-and-ilovevitaly

How to Block Spam Bot Referral Traffic From darodar, ilovevitaly, hulfingtonpost and blackhatworth, 8.0 out of 10 based on 2 ratings

Recent articles

Comments

admin
  • 06/12/2016

 

  •   Fadella - May 25, 2016 @ 4:09 pm

    Thanks for this useful information.

    VA:F [1.9.22_1171]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Reply »
  •   Zach - June 4, 2015 @ 7:28 am

    Great article! Here’s another spam referral to add to your list: semalt-semalt. 90% of the spam on our site is from them.

    VA:F [1.9.22_1171]
    Rating: 5.0/5 (1 vote cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Reply »
    •   Better Graph Team - June 4, 2015 @ 10:14 am

      Thanks

      VN:F [1.9.22_1171]
      Rating: 5.0/5 (1 vote cast)
      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Reply »
  •   bablu - May 2, 2015 @ 7:09 pm

    i like your article and its really helpful to block referral spam.

    VA:F [1.9.22_1171]
    Rating: 5.0/5 (1 vote cast)
    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
    Reply »
  •   pooja - February 10, 2015 @ 10:43 pm

    thanks for sharing this article it is very informative for me. google analytics of my site ibir.res.in is also showing tha same spam traffic.

    VA:F [1.9.22_1171]
    Rating: 2.3/5 (3 votes cast)
    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
    Reply »
  •   Ayaz Ali - January 24, 2015 @ 11:17 am

    the best way to deal with it is to filter the traffic from your GA reports by adding the domains to your Referral Exclusion List.

    VA:F [1.9.22_1171]
    Rating: 3.0/5 (2 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Reply »
  •   Yzenith @ chinese recipes - January 22, 2015 @ 9:50 am

    i followed your steps, and i can not find .hatccess file at my cpanel, i just added the code to header, and my site can not show up.

    do you know how those spam traffic effect a website?

    VA:F [1.9.22_1171]
    Rating: 3.7/5 (3 votes cast)
    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
    Reply »
    •   Better Graph Team - January 22, 2015 @ 10:27 am

      There will be a htaccess file might be that file be hidden, you should check it again. These spam traffic is not much affect in website but it harm analytics results.

      VN:F [1.9.22_1171]
      Rating: 3.0/5 (2 votes cast)
      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      Reply »
  •   Marisol Heymann - January 21, 2015 @ 3:12 am

    Awesome! Its genuinely remarkable piece of writing, I have got much clear idea regarding from this post.

    VA:F [1.9.22_1171]
    Rating: 2.0/5 (4 votes cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 2 votes)
    Reply »
  •   Sandeep Kumar - January 20, 2015 @ 12:21 pm

    Many thanks for this information, I have a question
    is it necessary to add http:// as prefix because some traffic come for a sub-domains like forum.topic56945274.darodar.com, and how this code work,
    I want to implement it on my blog spot blog and a website hosted on IIS server

    VA:F [1.9.22_1171]
    Rating: 5.0/5 (2 votes cast)
    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
    Reply »
    •   Better Graph Team - January 21, 2015 @ 10:11 am

      yes it is necessary to add http:// as prefix because this code work to block whole domain.

      VN:F [1.9.22_1171]
      Rating: 3.7/5 (3 votes cast)
      VN:F [1.9.22_1171]
      Rating: 0 (from 2 votes)
      Reply »
  •   Saeed Khan - January 20, 2015 @ 1:43 am

    My site receiving a lot of visitors for this keywords ” google officially -recommends ilovevitaly.com search shell”. I also note a sudden drop in mys site traffic since 9th January 2015. Please help me.

    VA:F [1.9.22_1171]
    Rating: 4.0/5 (1 vote cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Reply »
    •   Better Graph Team - January 21, 2015 @ 10:19 am

      If you are getting traffic from websites like darodar, econom, ilovevitaly, hulfingtonpost etc then its spam traffic and you can block that to follow above steps. For drop in traffic you should check your webmaster and backlinks and disavow spam links if pointing towards your sites.

      VN:F [1.9.22_1171]
      Rating: 4.0/5 (1 vote cast)
      VN:F [1.9.22_1171]
      Rating: +1 (from 1 vote)
      Reply »
  •   vijaykumar - January 18, 2015 @ 11:03 pm

    hi i came to this post from google search i have added that java script code in my blogger but it doesnt work should i choose another option as you told in google analytics it works………? .

    VA:F [1.9.22_1171]
    Rating: 5.0/5 (1 vote cast)
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    Reply »
    •   Better Graph Team - January 21, 2015 @ 10:26 am

      yes its work in Google Analytics, you need to check code again and where you placed or you can use other method.

      VN:F [1.9.22_1171]
      Rating: 4.0/5 (2 votes cast)
      VN:F [1.9.22_1171]
      Rating: +2 (from 2 votes)
      Reply »
VN:F [1.9.22_1171]
Rating: 8.0/10 (2 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
Check Your Website Health
nasscom
ISO900-2008
certified
pan-card