Category Archives for "Blogging"

How I Fooled Spam Comments: My Real Story

How I and You can fool the spam commentsOnce upon a time my blog was new and nothing was happening on it even after setting it up.  It kept sitting idle from August 2013 until March 2015 when I took command of it in my hands and started working on it.

Okay but I do want to inform you that it is the real story faced by me and it will be just that story I am about to share with no headings, sub-headings, bullet points, etc. Just the story with words.

<start of story>

By the time I resumed the activity on my blog, I started to get great comments from really awesome folks and for sometime I was hardly getting any random, irrelevant and spam comments. So I thought it is just it. I will NOT get any spam comment and I am not sure why I had that mindset built inside myself.
The time went by and I was into some months until early July with just handful amount of spam comments per week.

Then sometime struck back with much power. And it boggled my mind for few days. Everyday I logged-in into my dashboard, I kept noticing 50+ spam comments.

Wow…. 50+ comments, everyday.. without any breaks and intervals and strikes.

I thought like what to do now? How to actually deal with it?

I knew of a solution from long ago but had never implemented it at all because I never had a need to do so. Why?

Because I was not getting any spam comments until the tsunami of such comments struck the shores of my blog limits.

At first, I kind of believed that this solution won’t work. The spam comments were out of control that nobody in physical or virtual forms will ever control it.

But I went ahead with that solution. I did it all and registered and setup everything to make it in effect.
.. but I sighed after finishing the setup that if it will really work at all.. even the one percent.

So, I logged off to wrap up the day with a slight belief that it will work.

Next morning, I hopped on my inbox and noticed … zero spam comments..

It was a big “wow” in my heart!

To re-confirm if it was really the reality I logged-in into my blog dashboard and found… zero spam comments in spam queue in unapproved queue of comments.

Seriously the feel of it was as awesome as a kid sees his toy. 😀

So, what it really was that I setup?

What it really was that I knew it as a solution but was hesitant to implement it?

It was a WordPress plugin, a little but most-powerful spam killer plugin called “Akismet“.

This Akismet was my savior. And I salute to its creator and the team for making it available to the people and for keeping it free.

</end of story>

Thank you, Akismet!

Guys, do have it installed if you are going through getting loads of spam comments because if you don’t do it now, you will end up needing it sooner or later.

Now, Akismet is screening and detecting about 97% of spam comments itself and without me even getting noticed of it.

But one major drawback of Akismet is you have to still check the spam queue to un-spam some comments from real and genuine people as you know that blogging is the international thing and there are many countries and ISPs that are blacklisted in much of databases where Akismet finds the information about the commentators through their IP, name and email used. So, be careful about it if you do not or do not plan to check the spam queue. Do it because it needs a little effort to check out the comments from spam queue.

Thank you for reading the story, guys!


How To Block via Google Analytics

How to block through Google AnalyticsGosh! This is sick. I am so fed up of .. This thing got me!


I will so tell you so that it does not mess up your analytical data as well. Or if it has, you block this little piece of mess.

Well as you know that unwanted and unethical traffic hitting our webpages are really bad. So bad in terms of recording analytical data where they may easily destroy bounce rates, audiences, acquisitions, and behaviors that are recorded by Google Analytical bots.

The one bad picture is how worst these referral traffics are when they hit your webpage, they mostly target your homepage and nothing else. After a few seconds they exit because they are programmed to stay active for awhile and with it they do not hit any other links/pages from your home page so the bounce rate per visit from such referral traffics are at 100%. Scary enough, right?

[Tweet “It is easy to fight with web spam if you know what is spam and its source.”]

How to Block off Your Google Analytics Acount

Okay, I won’t go long and long with this post but straight towards the point to actually how to block with one easy way through Google Analytics.

Let’s begin the process which is as easy as boiling the water:

  • Go to your Google Analytics page
  • Click on “Admin
  • Click on “All Filters” from “Account” column
  • Click on “New Filters
  • Type anything you want to name that blockage for you to easily remember in “Filter Name“. For safe side, put in the URL of “”.
    Click on “Custom” in “Filter Type“.
  • Click on drop-down list of “Filter Field” and choose “Campaign Source“.
  • Type in the URL “” in “Filter Pattern” because this field is the one which will block the traffic from that Referrer/URL/Website.
  • Leave all the fields unchanged.
  • Scroll down the page and click on “All Web Site Data” from the box under “Apply Filters to Views“. When selected, click on “Add” button so it will move “All Web Site Data” under “Selected Views“, this is the one which will enable the filter and make it work.
    In last, hit “Save” and filter is enabled.

How to verify if the filter is working or not

Okay, I am not that tech-savvy and wanted to search for available methods to check to see how I can verify that filter.

Since is a spam website, hits error when accessing and that you cannot put your website URL anywhere on that website to click and check if it is really blocking the incoming traffic; I was out of options. Probably I couldn’t get the working methods to confirm is really blocked.
What I thought of an idea that how if I block a website where I can enter my blog URL to see upon clicking it from that website I block and if it really works to block the incoming traffic/hits.

The method is … just simple!

Go through the same process as above but use OR to test the filter.

Why them?

Because you can put your blog URL there and clicking the link there will record the information whether the filter is working or not.

Now to verify if it is really working can be seen through the following steps:

  • Go to your Google Analytics’ dashboard
  • Click on “Real Time” then “Over View
  • Now click the link of your blog URL (could be home page or any post) from Or (which ever you set the filter for)
  • Head back to Google Analytics’s Real Time > Overview and see if any incoming traffic shows up.
  • If you see nothing popping there under “Pageviews” or “Top Referrals“, congratulations! Your set filter is working.
  • If you see anything especially under “Top Referrals” and it is either FaceBook or Twitter whichever you set the filter for and that “Top Active Page” is the one you clicked the link of your blog from FaceBook of Twitter, that means something’s wrong there and you need to revise the steps again to ensure if anything missed during setup.

Video tutorial of how to block through Google Analytics

Does that filter block entirely?

In short, no.

Let me go in details as to why not.

Whenever anyone would be coming from a website for example,, your website will still be accessible and won’t block the page at all for that person like showing some kind of error message but the website and its content. Just that going with Google Analytics to filter the incoming traffic/hits from that particular site (in our case “”), the Google Analytics won’t record any information ever as long as filter is enabled. Thus, your web hosting bandwidth would be using up as well as the incoming traffic would be showing up through the stats of your cPanel (control panel).

Is there any other method to entirely block spam referral

In order to block such spam referrals entirely, there’s another method done through .htaccess file which I will cover in later days. But, I won’t recommend it going this way until large incoming traffic hitting your blog where your web hosting resources such as memory and bandwidth are being used up and hitting high volumes.


  • Are you aware of such spam referrals that are messing with your Google Analytical data?
  • How do you block it/them?
  • Would you be applying it on your blog?

Call to Action!

Please, share it with your friends, who knows if anyone is in need of such material and lands to it. 🙂

Photo credit: Google Analytics logo via photopin (license)