Block Google Analytics Referral Spam from


Our website (ThemeLooks) users have faced some unusual Google Analytics referral spam from in the last few days. So many of you are trying to find out how to actually block the traffic spam from Here are the steps to block such spamming from your website and keep your website protected.

How to Block Google Analytics Referral Spam from

You have to follow these steps to block

  1. Open the “Admin” section in Google Analytics and go to “View” which is on the right column and select “Filters”.
  2. Next, click on the “+ADD FILTER” button and you’ll be given a field to add a filter.
  3. Then enter a filter name that you want to block. For Example, to block enter “block 1-best-seo”.
  4. Select the “Custom” option from the “Filter Type”.
  5. After that, select the “Exclude” radio option. Then a popup screen will appear which is the “Filter Field” and you can select “Campaign Source” from there. Enter the domain in the “Filter Pattern”. In this case, the domain is “”.
  6. You can also filter multiple domains at the same time. And to do so, just put a “|” between the domains. For example “||”.
  7. To save this filter simply scroll down and click on the “Save” button.

So the filter will be applied to Google Analytics and the data that has been captured. You can also verify if your filter is working or not by clicking the “Verify this filter” link whenever you edit or create the filter.           

Allow Only a Specific and Valid Hostname as a Filter in Google Analytics

You can also allow only valid hostnames to your Google Analytics data. By creating a filter this can be done. A regex is used by the filter to check the validity of the domain.

  • Comments are closed