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

filter

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

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
wordpress

Why the_date() Function in WordPress Only Shows Up Once on the First Post

I was building a blog on WordPress and I realised the function the_date() was only showing up on the first…

Read More
how to remove the send email button off the macbook 2016 touch bar on apple mail

How to Remove the Send Email Button Off the Macbook 2016 Touch Bar on Apple Mail

I bought the new Macbook Pro 2016 and it’s been working great so far, except one problem. Every time I’m…

Read More
Let's Work Together!

I’m currently available for freelance web design work in Belfast now.