How to Block Refrral Spam in Google Analytics

Sean Doyle

Sean Doyle is an engineer from Los Angeles, California. Sean’s primary focuses include Internet Security, Web Spam, and Online Marketing.

26 Responses

  1. Val says:

    Reddit has a new referral path: /r/technology/comments/5foynf/lifehac%C4%B8ercom_original_idn_fake_safe_best_on_ff/

  2. Soumya says:

    Thank you. It worked for me.

  3. It’s happening with other paths also:
    so at least one of the solutions suggested is leaking.

    I’ve run tests and removed spam referral by 88% by using another Google Analytics property than the initial number one. Until spammers are finding this out, I think it should be the new standard when setting up new Google Analytics accounts:

    – Make a dummy property and create a second property for actual usage

    For older sites having old history data you might be better of by tweaking your filters repeatedly. I’d still create another GA account and run them parallel for couple of years, and then phasing the old out, if the old data is never used. Remember, the old data isn’t going to go anywhere. If you ever need to make analysis with historic data, you can combine accounts and properties manually or with third party solutions ( is one of them).

    Or you can go cold turkey, too 🙂

  4. Martyna says:

    I excluded all traffic from Russia – lets hope this will solve all my probs 🙂

  5. Kevin says:

    To add to my previous comment, when you create a new analytics property, it will show legitimate reddit traffic, the ghost traffic will disappear. Spammers are probably only interested in spamming your original -1 site. If you’re creating a way to avoid their spam with a new property, you probably aren’t going to give them the clicks they want, so hopefully they’ll leave these new property views alone.

  6. Marie says:

    I have a huge spike of visits from reddit on 01.12 – 171 in total from Russia! I do use reddit to promote there some of my content hence unsure how to filter it out in GA without losing on the legitimate traffic from tehre? Any ideas? Thx

  7. amit says:

    I got 3k spamming session. I frustrated for language spam. i use your method let’s see ?

  8. Wahyu says:

    Not work for me, on the real time overview still show reddit as referral. 🙁

  9. Weekend jobs says:

    Thanks for another help !

  10. Kelly says:

    thanks, been getting this myself. Drives me nuts.

  11. Manny says:

    its annoying and messing up Analytics data/reports. Can we block the specific referral page/path?

  12. all coming from this regen : Russia – saint petersburg or moscow

  13. Courtney says:

    But is a legitimate site, yes? If we block this, what happens if we want to receive actual traffic from

    • Alex says:

      Yep, I had the same Q. I think we’ll just leave as is for now.

    • Jabi says:

      If you don’t want to lose the traffic from reddit, change at the filter field don’t select Campaign Source and select Campaign Referral Path and write the URL without the domain:/r/technology/comments/5e2kcf/heres_a_secret_%C9%A2ooglecom_is_not_googlecom/. It should work just for this exact URL.

  14. Carl says:

    God! I hate spammers, thanks for the help!

  1. June 1, 2017

    […] […]

Leave a Reply

Your email address will not be published.