Before we get into how filter referral spam from your Google Analytics, I want to make something clear. Filtering referral spam is NOT the same thing as blocking it.

Filtering it out is simply masking it from your analytics data, but make no mistake it is still hitting your sight and ruining your analytics.

Who Should Filter Out Referral Spam From Google Analytics

Someone who doesn't want to mess with their htaccess file.

If blocking referral spam via your htaccess file (lesson 3) is to technical and you want to see your sites performance data, then your best bet is to filter your data.

When spam referral data is included in your analytics it makes it very difficult to make judgments about how to handle your website.

For example:

If my site got 10 visits today from 1 real person (who viewed two pages) and 9 spam referrals (that viewed 1 page). My bounce rate would be 90%

If I filtered out the spam referrals, then I only had 1 visitor and my bounce rate would be 0%.

When you get into trying to fix your website and figure out how real humans are interacting with it, it's helpful to look at accurate data so you can make better informed decisions,

How To Make A Google Analytics Spam Filter

Inside of your Google Analytics account navigate to Admin -> Filter-> New Filter

Name Your Filter and Create a Custom Exclude for Campaign Source. next you need to add the sites you want to filter into the filter pattern. The format is domain./ followed by a pipe (|) for each domain.

here is what mine looks like:

semalt\.|buttons-for-website|7makemoneyonline|ranksonic\.|simple-share-buttons\.|social-buttons\.darodar\.

So now going forward, this will filter out all of these site hits from your Google Analytics. Just a reminder, DON't BE FOOLED, this is not blocking them, you are just no longer seeing them.

I have personally turned my Google Analytics filter off, simply because I want to know the size of the problem.

You can't manage, what you can't measure.



Join the Discussion
Write something…
Recent messages
rosieM Premium
Thank you sounds too small...THANK YOU!!!! Everyone should read this.....saved and sharing!
Reply
NicheDown Premium
I appreciate your kind words. Referral spam is a big problem and it really can bring your spirits down when you see it ruining all your analytics data.

I am glad that you found the training to be of value!

-James
Reply
rosieM Premium
I really did! You laid it all out easily understood and detailed...great job!
Reply
johnwnewman Premium
Thanks, great training!
Reply
NicheDown Premium
Thanks, I appreciate your kind words!

-James
Reply
MarionBlack Premium
Thank you so much for sharing, I've been able to block 5 of those nasties from one of my websites. I would never have known where to find them in Google Analytics. ~Marion
Reply
NicheDown Premium
Hey Marion,

Glad you found the information helpful. O love that you called them "nasties"! You couldn't be more right!

-James
Reply
TheCatherine Premium Plus
I have added this to my Google Analytics training synopsis
Reply
NicheDown Premium
Thanks, That's a great resource you put together on Google Analytics. I am honored to have a link in it!
Reply
TheCatherine Premium Plus
it was only a compilation of the hard work of others but Google Analytic is so vital and so useful I wanted to make it easy for everyone to get acquainted with it
Reply
marant Premium
Wow, Just what I was looking for! Many Many Thanks!
Reply
NicheDown Premium
NP. Let me know if you need any help. I am certainly not an IT guy, but this a battle I have been fighting with referral spam for awhile.
Reply
marant Premium
It sounds like you've done quite a bit on it... how difficult is filezilla to use?
Reply
NicheDown Premium
I dont find it difficult at all. It's really pretty streamlined. I watched this training when I first set it up:
Reply
marant Premium
Thanks, Spam not too big a problem for me atm, my site still pretty new, but I want to stay ahead of it...thanks again, I know you've worked hard on it!
Reply
NicheDown Premium
Best of luck. save this as a reference. If the problem arises you can jump right on it. This took me a few weeks to learn and figure out so save your self the stress.
Reply
marant Premium
Definitley!...If you ever need some good comments...or feedbacks...or anything else..I'm your boy!!
Reply
Top