Google Analytics Referral Spam Segment Updated

In March I speculated on Twitter that the Google analytics referral spam referral spam problem might be solved.

At the time, lots of people agreed with me, and things stayed pretty clean through the first part of April.


However, in May referral spam came back with a vengeance, and nearly every single client had new spam domains showing in Analytics, and the older ones seemed to come back worse than ever, with dozens of fake visits, showing an artificial spike in traffic.

Even worse, my own lovingly maintained referral spam segment became corrupted somehow, and Google would no longer let me update. No matter what I did, since mid April, anytime I try to either edit or preview my segment I ontinue to get this error –

This morning I rebuilt the segment from the ground up, starting completely over, using a slightly different method. Instead of putting every domain on its own line for easy location and editing, and using Source / Contain, I went back to using what’s called a regex expression, putting multiple domains on the same line.

I used all of the domains from my own segment, which i’ve accumulated over the past year, plus added the domains form the RegEx shared here so there may be some duplication.  This segment should remove 100% of your referral spam, and you can download it here from the Google Solution Gallery

3 Minute Video: How to Use My Analytics Referral Spam Segment

Categories News
Scott Hendison:

View Comments (2)

  • Hi Scott,
    Followed your instructions very carefully.
    However, the result is showing almost all referral traffic as spam.
    It is not.
    What am I doing wrong?


    • I'm sorry for the delay, Kaya, I was out of town and unavailable all weekend for the holiday...

      I don't think you're doing anything wrong. In a lot of cases I've seen, especially with smaller businesses that have under 1000 visits a month, the majority of referral visits ARE these fake spam visits.

      Unless you're saying that my segment is excluding what you believe are valid domains? Do you have any examples of "good ones" that were removed?

Related Post

We are all slaves to Googles wishes, like it or not.