If you have ever faced any spamming related to Google Analytics traffic then you are at the right place. Our customers have faced some unusual Google Analytics traffic spam from 2-easy.xyz.com in the last few days. So many of you are wondering how to actually block the traffic spam from 2-easy.xyz.com? Today I am going to show that step by step.
How to block Google Analytics spam from 2-easy.xyz.com?
You have to follow these steps to block 2-easy.xyz.com:
- Open the “Admin” section in Google Analytics and go to “View” which is on the right column and select “Filters”.
- Next click on the “+ADD FILTER” button and you’ll be given a field to add a filter.
- Then enter a filter name that you want to block. For Example, to block 2-easy.xyz.com enter “block 2-easy.xyz”.
- Select the “Custom” option from the “Filter Type”.
- 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 “2-easy.xyz.com”.
- You can also filter multiple domains at the same time. And to do so, just put a “|” between the domains. For example: “first-domain.com|second-domain.com|third-domain.com”.
- To save this filter simply scroll down and click on the “Save” button.
So the filter will be applied for 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
It is also possible to allow only valid hostnames to your Google Analytics data. By creating a filter this can be done. The filter uses a regex to check the validity of the domain.