Comment Referrers 0.1


Here’s a small plugin that does a small but useful task. It reports where the people who comment on your blog come from. It then adds a line to the end of your comment notification or moderation emails with that information.

Download: comment-referrers.txt

Install by renaming the file to .php and placing in your plugins folder and activating it on your WordPress plugins page.

Update! Here’s the plugin page for this plugin.

60 thoughts on “Comment Referrers 0.1

  1. That’s a really good idea. It would be easy to add other information about the user too, wouldn’t it? such as browser string, country, etc?

  2. Shame it doesn’t help much with bot Spammers, but it’s always nice to know where your active users are coming from. I’d love to see something like this on Postnuke…

  3. Thanks for the recommendation 🙂 Am going to try it now as it’s always good to find out a bit more about sites that link back!

  4. Great Plugin. Thanks for a simple install plugin that is useful.
    Any added user referrer features are a great addon. It’s not only fun to see where your visitors, commenters, etc, are coming from but helpful in terms of content, language and safety.

  5. This could be interesting, it would be great it you kept the first referring sites details too. i.e. you could check the google string the used when they arrived and see what ones get you more comments.

  6. I have installed this plugin on my blog as instructed but am not seeing referrers in comment notifications. Am I missing something?

    – Dave

  7. Dave – make sure there’s a referrer to report. Click on a post from your homepage and enter a comment. If you have WP-Cache installed you should clear the cache too.

  8. This is a great idea. I can see it working in two ways:

    1. When you receive a lot of negative feedback on a blog post, it can help you identify if these are regular readers or if they are new readers coming from another source, possibly where they’ve been told to leave nasty comments. If it’s the latter, you can choose to ban them until their hostility settles down (with the wp-ban plugin).

    2. When you receive a lot of positive/ feedback on a post, you can thank whoever sent the readers by sending the referrer an email or giving them a link.

  9. Just wanted to say that the plugin is working a treat for me – nice work 🙂

    I don’t get many commenters on my blog, but it’s definately nice to get an idea where people came from.

  10. This plugin is a miracle worker!

    Thank you!

    It tells me where people found my articles when they leave a comment. Very very useful!

    WordPress webmaster – get this plugin! You need it! 😀

  11. Not really sure why you would need this, but I guess if you really want to know where your comments are coming from then this could be useful.

    I think if you wanted to take this to the next level you would store the results in a table then graph the results using jpgraph or something similar.

  12. I noticed in the small image screenshot you have, aside from Approve it and Delete it, you have spam it. I do not have that in my emails. I only have Approve and Delete. Does your plugin also activate the Spam it? Or is this another plugin that I don’t have right now.

  13. Great idea, a referrer plugin 🙂 That’s why I love wordpress, when you get the community involved with open source, everyone benefits. Thanks!

  14. >>seocontest2008
    You need to activate your Akismet plugin – as provided automatically with WordPress 🙂
    You’ll need to grab an API code, or whatever its labelled from I think.

  15. Great plugin, installed it on my blog.
    Since it’s not that much of a code, I think it would be a good idea to have it incorporated into WordPress code itself.

  16. What I’m wondering is,if the person is actually contributing to the conversation with a legit comment,why would you object to them trying to get some traffic and rank on their site? I could understand if it was something generic like “Nice Blog,great post.” But it seems that the person actually had read the post and actually commented appropriately.

    Am I missing something?

  17. Scott – not when the person intentionally goes looking for blogs to comment on. It’s even more evil and sneaky than “ordinary” spam because it’s harder to spot.

  18. This sure comes in really handy. I wouldn’t mind getting a lot of comments. The plugin will let me know who’s who and where they are.

  19. >>Rob – have you reported your problems to the author(s?) of Bad Karma? I’ve not had any friends report problems with posting comments in the past. I’m sure if the problem could be found, that the people responsible for the plugin would want to improve it…

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.