I don’t know about you, but referrer spam is really starting to become a big nuisance especially for small and medium sized businesses. All the seo.xyz referrers showing up in your Google Analytics reports skewing your data and playing havoc with your reporting. Check out your Referral Traffic report in Google Analytics if you don’t know what I’m talking about.
The good news is there are a couple of things you can do to combat these super annoying referrers!
Filter Out That Referrer Spam
Luckily, Google Analytics let’s you filter out stuff you don’t want to show up in your data, like your personal IP address or referrer spam.
Here’s how you go about filtering out unwanted referrers from your analytics so they don’t show up in the future:
- Login to your Google Analytics account and click “Admin” in the top navigation
- Under “Account” click “All Filters” and the “+ Add Filter” button
- Enter a name like “Referral Spam 1” (I like to number them because you’re going to have many filters due to a 255 character limit)
- Under “Filter Type” click “Custom”
- Click the “Exclude” radio button and in the drop-down click select “Campaign Source”
- In the “Filter Pattern” enter the referral spam domains. Make sure there is a “|” between each one. Here’s a few culprits I have found and filtered: alibestsale.com|.copyrightclaims.org|best-seo-software.xyz|100dollars-seo.com|4webmasters.org|anonymous-redirect.com|best-seo-offer.com|best-seo-solution.com|webmonetizer.net|www.event-tracking.com|www.Get-Free-Traffic-Now.com|youporn-forum.ga
- Add the views (websites) you want the filter to apply to
- Click the “Save” button and you’re done!
Segment the Referral Spam
Dealing with these annoying referrers is an ongoing battle with new referrer spam domains coming out all the time. If some squeaked through don’t worry you can create a segment to clean your reports.
The “All Sessions” segment is displayed by default and like the name says, it shows all your sites sessions. Here’s how you create a new segment that hides the referrer spam from your reports:
- Click “+ Add Segment” right beside “All Sessions” in just about any report
- Enter a name for the segment, something like “Referrer Spam Filtered”
- Click “+ New Segment” and then select “Conditions”
- Filter “Sessions” and select “Exclude”
- In the drop-down menus, select “Medium” and “exactly matches”, then enter “referral” into the field and click the “AND” button
- In the next set of drop-down menus, select “Source” and “matches regex”, and enter in your referrer spam list. Again, make sure there is a “|” between each one. There isn’t a character limit here, so you can add your whole list.
- Click the “Save” button and there you go!
Referrer Spam List
I’m maintaining a list of all the referral spammers I come across. Feel free to use it in your filters and segments. Also, go ahead and add any you come across in the comments and I’ll add them to the txt file.