Using Google Analytics to debug spam comment targeting 5

There are two sites I own which use the very nice blogging engine, and over time they’ve been constantly harassed by increasing amounts of spam comments.  Usually the sort of nonsensical garbage which is just trying to link harvest or some other mundane and stupid way to boost external sites’ page rank.

Recently this started to slow, as I implemented a CAPTCHA for all comments, enabled comment moderation, and disabled comments on old posts.  Intrigued by how automated scripts were targeting my sites, I turned to Google Analytics, and reviewed the Keywords for one of the sites which rarely gets any referral traffic from search engines.  This proved to be a bit of a gold mind (as you would expect), and as you can see from the screen capture below, there’s not much left to the imagination how spammers are targeting my sites.


Google Analytics Keywords Snapshot

What our creepy nasty spammers are doing is targeting sites directly, in particular where comment notification is found.  Now, I’ve gone around and removed the “powered by” text, and I’ve removed the notification checkbox and label, so I’m anticipating a big drop off in targeted spam comments.  Time will tell if these modifications will do the trick.

If you have a blog or site which receives undue amounts of garbage comments, I’d highly recommend that you carefully review the keywords and referrers and see if you can spot how these ugly spamming sods are finding your site via a search engine.  It’s a bit easier if you don’t have hundreds (or more) keywords, but I think with about 10-15 minutes of work, you might be able to find what’s attracting the unwanted traffic.  If you can remove the key elements, it may go some way to eradicating the spam comment problem for your site.

Best of luck!  R

About Rob Sanders

IT Professional and TOGAF 9 certified Enterprise Architect with nearly two decades of industry experience, 18 years in commercial software development and 11 years in IT consulting. Check out the "About Rob" page for more information.

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

5 thoughts on “Using Google Analytics to debug spam comment targeting

  • linen tablecloth

    I use google analytics. The service I sell online is location specific. I am getting visits clustered around various locations.

    Any creative ideas on how to target visitors from specific locations? Does this make any sense?

    Something like: If you are from San Diego, click here for a special offer?

    Thoughts? Ideas? Experience to share?

  • Kenny

    Can I simply say what a relief to discover somebody who really knows what they are
    discussing on the web. You certainly know how to bring a problem
    to light and make it important. More and more people ought to look at this and understand this side of the story.
    I was surprised you’re not more popular because you certainly have the gift.