Semalt Specialist Tells How To Filter Admin Traffic In Google Analytics
If you had seen the Google Analytics traffic and found the high bump, the chances are that your website is receiving fake traffic. It happens to everyone, and there are periods when you will have to set up new websites, work on latest designs and spend lots of time checking the quality of articles you write. All this counts as the visits, but you will end up with incorrect statistics for your site. The only option is to filter out the admin traffic from your Google Analytics account.
You can do so with a variety of WordPress plugins. However, if you don't use this content management system or don't wish to clutter your website with plugins, then you can proceed with the following methods defined by Max Bell, the Customer Success Manager of Semalt.
1. Exclude the IP address:
You should exclude your own IP address so that the traffic from it is not counted in your Google Analytics account. If you use a computer or work in an office, you should use another technique. To exclude traffic by the IP address, you should create the custom filter in your Google Analytics account. Instruct your Google Analytics application not to consider the hits that come from a particular IP address or multiple IP addresses. Open the Google Analytics account and go to the Filters section. Create a new filter and add information about the filter name, its type (choose predefined filter), and click on the Exclude button. IP address like 18.104.22.168 can be added to this filter.
2. Exclude traffic by the Cookie Content:
You can exclude the traffic by Cookie Content. For this, you cannot lock a filter to one IP address or a few IP address. Instead, you reinstall the operating system and clear the cookies. This will prevent the low-quality traffic from being tracked again. Another way is to create a file and add the cookie to the browser. For this, you should create the HTML file named as filter-traffic.html and don't forget to add a specific content to that file.
The content is:
<html dir="ltr" lang="en-US">
<meta http-equiv="Content-Type" c />
<titles>Excluding traffic by the Cookie Content</title>
<meta names="robots" c />
3. Add the filter to Google Analytics:
Now you have cookies in the browser and should setup the filters that can exclude traffic coming from your own laptop or computer. Once again, go to the Filter section of your Google Analytics account and click on the Custom Filter option. Here, you have to select the Exclude option to exclude the traffic. The next step is to choose the Filter Pattern section and added the filter_traffic to this section. Filter_traffic is what you used as the custom variable in body tag of your HTML file. Don't forget to save the settings before closing the window. You should remember that this method will exclude the data from the Google Analytics account. If you want to analyze the internal traffic, then you should use the Cookie Page method and do not apply the filters. You can also use the custom segments to filter the admin traffic. Now you can setup filters and can exclude the internal traffic.