stop google analytics referral spam

Campaign Source Filter Google Analytics

Using a Campaign Source Filter is great for blocking spam referrals quickly, but if your looking for something more maintainable you should use valid hostnames. When using campaign filters you will have to block everything one by one and the spam referrals will have already hit your data.

  1. Go to the admin tab
  2. Select the view from the drop down you want to filter
  3. Click on filters
  4. campaign filter

  5. Add new filter
  6. add new filter

  7. Add a filter name to remember the filter
  8. Filter type custom
  9. Select exclude
  10. Filter field as campaign source
  11. Paste in spam URL for filter pattern
  12. Save


It’s important to remember that these effects will take 24 hours or more to show as it will block referrals from that URL in the future from being added to your data.

Tags: , ,

Please share if you found this useful

Recent posts

Magento Image Upload Button Missing

How To Fix Magento Image Upload Button Not Showing

Have your Magento upload buttons gone missing on the backend for all of your products? This seems to be a…

Read More
How to Disable Plugins from WordPress Without Dashboard Access

How to Disable Plugins from WordPress Without Dashboard Access

Sometimes we need to disable WordPress plugins without accessing the WordPress dashboard. Often times during troubleshooting, many websites recommend that…

Read More
Facebook thumbnails

How to Fix the Wrong Facebook Share Link Thumbnail Image with WordPress

When sharing links on Facebook have you ever noticed the wrong thumbnail image displaying? If a URL has been shared…

Read More
Let's Work Together!
I’m currently available for freelance web design work in Belfast now.