Preventing Google Analytics Spam

If you are regularly using Google Analytics to look at your website stats, you may have noticed in the past year or so that you will get a fair amount of spam in your account. Spam comes in the form of false referrals, fake event, campaigns you never made and others. This can get quite frustrating as it puts allot of false data in your reports. The traffic is almost always bounce and will skew your data points quite a bit on lower traffic sites.

The solution!

Create a valid host name filter. This is a filter that will only include stats for visitors that were on your actual website when they triggered the action (page view, session, event, etc). The valid hostname filter needs to be configured as a regex to only include your domain names, including any subdomains where you have tracking code. For example the valid host name filter for this website is: gliffen.com|www.gliffen.com

Need help preventing Google Analytics Spam? Follow the following link for detailed instructions: http://www.ohow.co/what-is-referrer-spam-how-stop-it-guide/#Valid_Hostname_Filter_Multiple