Are you suffering from a ridiculous amount of spam in your Google Analytics Reports?

Your “Top Cities” may include cities in countries that you have absolutely no business in. Your referral or exit reports might be filling up with bogus websites. We’ve stumbled across spam such as:

  • Semalt
  • Guardlink
  • Domination
  • Event-Tracking
  • Get-Free-Traffic
  • Buy-Cheap-Online
  • Free-Social-Buttons
  • Darodar
  • Hulfingtonpost (They seem to be squatting huffingtonpost.com, a reputable news website)

Thankfully, its quite easy to remove all of this garbage! You just have to be comfortable with changing Google Analytics (GA) settings and setting up filters. You can follow the tips below to help combat this artificial traffic:

Bot Filtering (Easy)

The first step is to enable the Bot Filtering setting. You can access this by opening your GA Profile

  1. Click “Admin”
  2. You’re brought to three sections. Account, Property & View
  3. Under “View” – Click “View Settings”
  4. Check the “Exclude all hits from known bots and spiders” box
  5. Save

Referral Exclusion List (Easy-Moderate)

Another easy method is the built in Referral Exclusion List. You can access this feature by opening your GA Profile

  1. Click “Admin”
  2. You’re brought to three sections. Account, Property & View
  3. Under “Property” – Click “Tracking Info”
  4. Click “Referral Exclusion List”
  5. Here you can easily add all of the referring websites you do not want to show up in your reports

Hostname Filter (Moderate-Difficult)

One of the primary methods of exploitation these bots are doing is hijacking your GA Tracking ID. This is how GA determines what data goes where. What you’ll want to do is setup a filter to only includes traffic that comes from your hostname (domain.com). You can setup this filter by opening your GA Profile

  1. Click “Admin”
  2. You’re brought to three sections. Account, Property & View
  3. Under “View” – Click “Filters”
  4. Click “New Filter”
  5. Name it whatever you would like and select “Custom”
  6. Select “Include”
  7. In “Filter Field” select “Hostname”
  8. In the fitler pattern box include:
    1. .+\.DOMAIN\..+|DOMAIN\..+
    2. Replace DOMAIN with your domain
    3. A web address is usually: domain.tld
    4. So if you’re website is: google.com
    5. You would use:
      1. .+\.google\..+|google\..+

 

Pro-Tip: Filter your traffic on your website to get total unskewed analytics data. If you’re a designer, developer or content writer; chances are you spend a lot of time on your website. If you got the hang of the Hostname Filter Method this will be easy for you! All you need to do is setup a filter to exclude all traffic from your IPv4 and IPv6! Piece of cake!!

Having trouble? Leave a comment and we’ll help you out!



Article By

Mike Biegalski


Biegalski LLC

A professional full stack developer, having experience in all aspects of the development cycle. Actively diving into new technology just to experience the workflow and see how it functions.

Submit An Article

We are open to accepting articles written by members of the community. If you have a quality article that you would like featured please, submit the article here.

Biegalski, LLC BBB Business Review
Biegalski, LLC BBB Business Review