How to Block Secret.Google.Com Referral Spam in Google Analytics

Google analytics tools are a reliable method to track your any statistics concerning your website. Their usefulness and power make them one of the best statistics tracking options to date. This article, in particular, is aimed at Secret.Google.com, which is just another instance of referral spam.

How to Block Secret.Google.Com Referral Spam in Google Analytics

What is Secret.Google.com? What does referral spam do?

Referral spam – which Secret.Google.com is an instance of – is a particular type of spam content that is only visible to website administrators through the web analytics dashboard. It usually takes the form of a fake traffic referral, a direct visit or a search term. The gist of it is fairly cunning and ingenious. A referrer if you happen not to know is a name or link that is shared via the HTTP header when a browser navigates through the pages of a website. This helps you track the type of audience you have and where they come from, usually accessed through the analytics dashboard. Any name or link can replace the referrer itself. Some spammers use this feature to link back to their websites their main goal of promotion and issue multiple requests your site. Because your analytics platform also tracks this information, it shows up in your reports. This exact, repeated hijack of your reports is what we name referral spam.

Does it harm my site?

We must also mention that referral spam does not harm your site in any way – other than polluting statistics. While the goal of the spammers is fairly malicious in nature, their actions do not affect your ranking. However, this does not mean that this issue should be ignored or neglected – or procrastinated upon – because the faster you act, the quicker you will stop the spammers dead in their tracks. The reason for this is fairly simple. A web administrator regularly checks his logs and reports to see how his website is doing. If a referral spam is taking place, he will be curious to know what that link is doing in his logs / reports. Sure enough, he could click to investigate and before he knows is, he has already done what the spammers are hoping for interaction and curiosity. The most cunning of them all will direct you to an online store or filter you through an affiliate link that installs cookies and gets them revenue when you purchase something.

How to Block Secret.Google.Com Referral Spam in Google Analytics

STEP 1: In your Analytics account go to Admin —> All Filters.

screenshot_227

STEP 2: Next, click New Filter and add Secret.Google.com in the Filter Name value.

screenshot_228

STEP 3: Select the Custom Filter Type. In the Filter Field —> Campaign Source. In the Filter Pattern text box, add Secret.Google.com and click the Save button at the bottom of the web page.

Blocking Secret.Google.com referrer spam through .htaccess

If you know how to access your .htaccess file, you just need to input the following code in there:

## SITE REFERRER BANNING
RewriteCond %{HTTP_REFERER} Secret.Google.com [NC,OR]
RewriteCond %{HTTP_REFERER} Secret.Google.com
RewriteRule .* - [F]

If you don not know how to access it, do the following:

Login to your cPanel account —> File Manager —> click the checkbox “Document Root for—> your website. A side note clicks on “Show Hidden Files” and then Go. Find the .htacess file, right click it and choose Code Edit. Input the code I gave you and Save Changes.

Leave a Reply

Download Free All Mobile Applications & Games © 2015