Filter Spam From Google Analytics

Filter Spam From Google Analytics

Are you struggling with referral spam?

Follow these easy steps to make sure you're able to rid your analytics of spam.

What are the two types of spam?

Type 1:

First, you've got your referral spam. This is just spam where someone sends hits from their domain to your domain via bots. A lot of times, it's not even a real domain.

Type 2:

Next, you've got your ghost spam. These deviants are firing hits on their own domain with your analytics code, making it look like you got traffic when you didn't.

 

Method 1 - Exclude Campaign Source

In Google Analytics, you can set a filter to look for all of the campaign sources which may deliver spam traffic to your site. We’ve compiled a total list in regex, though your filter can only have 250 characters. So, you’ll need several filters to get everything.

There are other ways to write this that are shorter, but this should be easy for most people non-regex trained to copy and paste:

adviceforum|social-buttons|semalt|free-share-buttons|buttons-for|best-seo|cmsdevelop|buy-forum|googlsucks|sitebeam|onlineprofitscode|researchpro|urlopener|zapmeta|wiki\.coe|zuula|darodar|semalt

Feel free to add others you find to your own list. Your filter will look something like this when you enter everything:

Method 2 - Include Only Hostname

This next one involves setting your profile to only report on traffic to your own hostname. (Replace client.com with your own site domain). Make sure you only include hostnames which you control and want to report traffic from.

 

Why Exclude for Referral and Include for Hostname?

The answer to this is due to the nature of what you know out of both data sets. For hostnames, you always know exactly which domains you want to track, so you use an include filter. For referrals, you only know spam by finding the domains in your reporting. You don’t want to accidentally exclude real information from affiliates or partner sites.

 

 

Custom Report Templates: Link to Method 1 report | Link to Method 2 report

Marcel Digital - Chicago Digital Agency
 

A digital agency located in the River North neighborhood of Chicago, IL.

Marcel Digital
445 W Erie St, Suite 200
Chicago, IL 60654 USA

Search our site