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, which is just another instance of referral spam.

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

What is What does referral spam do?

Referral spam – which 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.


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


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

Blocking referrer spam through .htaccess

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

RewriteCond %{HTTP_REFERER} [NC,OR]
RewriteCond %{HTTP_REFERER}
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.


Add a Comment
  1. I am regular reader, how are you everybody?

    This post posted at this website is actually pleasant.

  2. I love your blog.. very nice colors & theme.

    Did you design this website yourself or did you hire someone to do it for you?
    Plz answer back as I’m looking to create my
    own blog and would like to find out where u got this from.
    appreciate it

  3. My developer is trying to convince me to move to .net from PHP.

    I have always disliked the idea because of the costs.
    But he’s tryiong none the less. I’ve been using Movable-type on a variety of websites for about a year and am nervous about switching to another platform.
    I have heard great things about Is there a way
    I can import all my wordpress posts into it? Any kind of help would be really appreciated!

  4. Hello! I could have sworn I’ve visited this website before but after looking at many of the articles
    I realized it’s new to me. Anyhow, I’m certainly pleased I stumbled upon it and I’ll be
    bookmarking it and checking back often!

  5. I’ve read a few excellent stuff here. Certainly price bookmarking for
    revisiting. I wonder how a lot attempt you place to create any such excellent informative web site.

  6. When some one searches for his essential thing, so he/she wants to be available that in detail, so that thing is maintained over here.

  7. Hi it’s me, I am also visiting this website regularly, this web
    page is really fastidious and the viewers are in fact sharing good thoughts.

  8. I am truly pleased to glance at this website posts which contains
    plenty of valuable data, thanks for providing these kinds of information.

  9. Can I just say what a relief to find somebody who really understands what they are discussing online.
    You actually know how to bring a problem to light and make it important.
    A lot more people should read this and understand this side of your
    story. It’s surprising you’re not more popular since you certainly have the gift.

  10. Hi, Neat post. There’s a problem along with your site in internet
    explorer, could check this? IE nonetheless is the market chief and a good component of other people will omit
    your magnificent writing because of this problem.

  11. Quite awesome short article. I certainly take pleasure in this website. Progress the superior function!

  12. Undeniably consider that which you said. Your favourite justification seemed to be on the internet the simplest factor to remember of.
    I say to you, I certainly get annoyed whilst other folks consider concerns that they just
    do not understand about. You controlled to hit the nail
    upon the top and outlined out the whole thing without having side-effects ,
    people can take a signal. Will likely be back to get
    more. Thank you

  13. I’m curious to find out what blog system you have
    been utilizing? I’m experiencing some minor security problems with my latest website and I’d
    like to find something more safeguarded. Do you have any

  14. It’s actually a great and useful piece of info. I’m satisfied that you just
    shared this useful info with us. Please keep us up to date like
    this. Thank you for sharing.

  15. You really make it seem so easy together with your presentation however I to find this topic to be really one thing which I believe I might by no
    means understand. It seems too complex and
    very wide for me. I am taking a look ahead in your subsequent publish, I will attempt
    to get the hang of it!

  16. What’s up to every body, it’s my first visit of this blog; this website consists of amazing and
    genuinely good material designed for visitors.

  17. Appreciate this post. Let me try it out.

  18. Woah! I’m really digging the template/theme of this blog.

    It’s simple, yet effective. A lot of times it’s hard to
    get that “perfect balance” between superb usability and appearance.

    I must say that you’ve done a excellent job with this. Also, the blog loads extremely quick
    for me on Chrome. Excellent Blog!

  19. I like the helpful information you provide in your articles.
    I’ll bookmark your weblog and check again here frequently. I am quite sure I’ll learn many new stuff right here!

    Best of luck for the next!

Leave a Reply

Your email address will not be published. Required fields are marked *

Download Free All Mobile Applications & Games © 2015