Getting traffic to your website for free is tempting. Isn’t it? But, sometimes it might become a headache for you, especially when it is trying to ruin your Analytics data. At first, when I discovered a traffic spike on one of my blog a few months back, I was excited. I thought people are linking back to my articles. But, when I dug deeper to the matter and checked Google Analytics report, I was shocked that these are nothing but fake referral traffic with 100% bounce rate and 0.00 seconds average session duration. These traffic already started to ruin my Analytics data. My average session duration was drowning and there was a significant increase in Bounce Rate.
Who Are They?
Who are they? Why are they providing you free referral traffic? I searched on Google about the matter and it was confirmed that I am not the only victim of this. Each of these referral traffic providers has a different motive. Some of them are using referrer spam as a form of lead generation. Some of them use their bots to crawl your site to give on and off page analysis such as keyword usage and link metrics. Some sites use it for directing affiliate traffic to shopping sites such as AliExpress.com. These referral spammers are mostly harmless, and generally don’t pose a threat to your web security or private information. They also don’t affect your SEO directly or penalize your site’s rankings. But, these could definitely corrupt your Analytics data.
Top Referral Traffic Spammers:
Some of the top and common referral traffic spammers are as follows,
How to Get Rid of Referral Traffic Spammers:
There are two ways to get rid of this crazy referral traffic and save your Analytics referral data from ruining,
Edit your .htaccess file
The best way to stop these fake referral traffic is to edit your .htaccess file. This idea is more effective because it will prevent those bots from hitting your server. If you are on Apache server, you can directly add the below provide code into your .htaccess file.
Before editing .htaccess file it is recommended to take a backup of your original .htaccess file.
If you are using WordPress blogging platform, you will be pleased to know that there is a awesome plugin named WP-Ban for this purpose. Wp-Ban gives you the ability to ban users by IP, IP range, host name, user agent and referrer URL from visiting your WordPress blog all from within the WordPress admin panel.
Use Analytics Filter
Another way to prevent your Analytics data from getting corrupt is to use Analytics filter. This method can only prevent those spammers from appearing in your Analytics report. However, it will not prevent them from hitting your server’s algorithm. Follow the steps provided below to create a filter,
- Login to your site’s Analytics Dashboard.
- Click on the Admin tab at the top of the page.
- On the ‘View’ column create a new view and give a name to it such as ‘Filter Spam Bots’
- Click into the ‘Filters’ section then select the ‘+New Filter’ button
- Provide a name such as ‘Spam Filter’
- Select filter type as ‘Custom’
- In the ‘Exclude’ portion select ‘Filter Type’ as ‘Referral’
- Enter the code provided below into ‘Filter Pattern’ to exclude most common spammy referrals,
These are the ways which I have personally implemented to get rid of fake referral traffic. There must be some other ways too. I would love to hear about your experiences and how you have dealt against those spammy referrals.