referral-spam blocking

Block referral spam in Analytics

Referral spam in you Google Analytics? Here is the list of culprits from just one site before the cleansing process:


Here is a more extensive list or URL’s to block and cleanse.

And here is how to hide the stat skewing results from your you analytic s through custom advanced filters:

You can also just block the hit from occurring like this, although this is just a game of cat and mouse since they will burn and churn these domains faster than you can whack the mole.

Access your .htaccess file (or web config if you use IIS) and add the following code:

RewriteEngine On

Options +FollowSymlinks

RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*semalt\.com\ [NC,OR]

RewriteRule .* – [F]


About author

Todd Kron

of Sellaholics is a veteran of Analytics, PPC, Display, video, UX, conversion optimization, affiliate programs, web design and web programming since 2002. My background includes affiliate sales to 6 figures, director of a web design agency, and currently the digital manager for a leading energy company located in Huntersville, NC. From search to sale 1000 different ways is my background. Sellaholics is a Google Partner Agency.