1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Quick & Easy Way To Block Analtyics Referral Spam Like Semalt.com & Others

Discussion in 'BlackHat Lounge' started by RightInTwo, Dec 23, 2014.

  1. RightInTwo

    RightInTwo Power Member

    Joined:
    Feb 23, 2010
    Messages:
    744
    Likes Received:
    382
    Home Page:
    Hey Guys,
    Wanted to share this with anyone that has been having issues with referral spam in their Analytics. I've noticed that a lot of my stats are getting worse and worse and completely messing up my reporting for a lot of my sites. This is nothing new, but wanted to share it with everyone that might be having the same issues. There are ways to do this through .htaccess, but this literally will take you 30 seconds:


    1. Go To google.com/analytics
    2. Go to your analytics profile that you want to edit
    3. At the top, click Admin (you must have admin level rights)
    4. In the 2nd column of settings, click on .JS Tracking Info
    5. A drop down will open, select "Referral Exclusion List"
    6. Enter the domains you want to block. I have found that my profile was getting hit hard by the following that I blocked: 7makemoneyonline.com, buttons-for-website.com, semalt.com, forum.topic44897056.darodar.com

    Thats it! Back to accurate data!
     
    • Thanks Thanks x 2
  2. m4dm4n

    m4dm4n Regular Member

    Joined:
    Sep 15, 2010
    Messages:
    223
    Likes Received:
    92
    Occupation:
    /dev/full
    Location:
    /dev/urandom
    • Thanks Thanks x 1
  3. RightInTwo

    RightInTwo Power Member

    Joined:
    Feb 23, 2010
    Messages:
    744
    Likes Received:
    382
    Home Page:
    True, but I didn't want to have to keep doing that over and over. This will remove it moving forward for my analytics :)
     
  4. stharthjw6j

    stharthjw6j BANNED BANNED

    Joined:
    Dec 23, 2013
    Messages:
    588
    Likes Received:
    250
    Are you still getting the hits though just ghosted, or are they literally blocked?
     
  5. RightInTwo

    RightInTwo Power Member

    Joined:
    Feb 23, 2010
    Messages:
    744
    Likes Received:
    382
    Home Page:
    They aren't coming through at all. The only thing that I have noticed is that there are more and more sites popping up as referral spam.
     
  6. The Scarlet Pimp

    The Scarlet Pimp Senior Member

    Joined:
    Apr 2, 2008
    Messages:
    883
    Likes Received:
    3,320
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
    i use a php script to block things like this.
     
  7. innosoft

    innosoft Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 25, 2008
    Messages:
    1,653
    Likes Received:
    641
    Occupation:
    Software Developer, SEO
    Location:
    Office
    Home Page:
    i think its possible to block those via robots or .htaccess also.
     
  8. RightInTwo

    RightInTwo Power Member

    Joined:
    Feb 23, 2010
    Messages:
    744
    Likes Received:
    382
    Home Page:
    It is, but for anyone that isn't savvy, blocking the referrer in analytics is quick and easy.
     
  9. m4dm4n

    m4dm4n Regular Member

    Joined:
    Sep 15, 2010
    Messages:
    223
    Likes Received:
    92
    Occupation:
    /dev/full
    Location:
    /dev/urandom

    If you block the refs from google analytics, the hits keep comming but they are ghosted ( they don't show up in analytics at all )

    If you block the refs from php/htaccess then you can ( depending on the implementation ) block the hits entirely
     
  10. The Scarlet Pimp

    The Scarlet Pimp Senior Member

    Joined:
    Apr 2, 2008
    Messages:
    883
    Likes Received:
    3,320
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
    you can also block by language.
     
  11. raygendary

    raygendary Regular Member

    Joined:
    Jun 22, 2014
    Messages:
    253
    Likes Received:
    11
    Location:
    Adventure Island
    I have the same problem, this darodar shts are coming to my website, what is there negative effect tho?