Top incoming search terms for this post – incoming search term tagging

November 10th, 2008


Guess someone was able to do a better job and have come up with a much more awesome plugin. Please check this post: Incoming Search Terms WordPress Plugin For Articles / Posts.

**Update** –

I’m working on extracting the core ‘Search term tagging’ function from bStat as it doesn’t seem to work with latest version of WordPress. Please put up with me till then.


I had seen this plugin being implemented on a few blogs and wanted to have this one very badly on my blog as well.

The plugin I’m talking about is bsuite from Cassey. A brilliant plugin, which has seen its journey all the way from bStat all the way to bSuite.

But somewhere during the journey, bSuite lacked what I was looking for in it. It provides great statistics, but what I was looking for was the incoming search term tagging feature, which was not a part of bSuite.

Cassey has done a great job developing the plugin, but I was disappointed when I found very less support from the plugin page. Seems like Cassey is too busy to spend a lot of time for his blog. Sensible when you have lot more to do in real life :) .

Matt from Borkweb wrote a quick hack to get things working for bSuite, but unfortunately, bSuite 4.0 is a lot different from bSuite 3.0 and predecessors and hence the hack provided by him was difficult to suite the latest one.

You can find Matts version here :

Some one there got the hack to work and offered to help others. But I was point blank denied from any help and was left helpless again.

That’s when the zeal of “have to find it” kicked in and my search ended here.

Thanks to author to take some time to put up different versions of bstat and bSuite up on his server for us to download. I finally managed to get a copy which was doing what I expected bStat to do.

All fine, until I found there was a small bug in the script. The query was working fine for the first 9 results and later on was throwing some garbage value.

I ended up modding the script a bit, since it is under GPL.

Finally it’s working the way I want it to. I haven’t tested it completely. I just wanted the incoming search term tagging to work fine, so if something else is not working as it is expected to, I’m sorry.

[ Download Incoming Search Term Tagging bStat / bSuite Mod ]

The *.zip file has a ReadMe.txt which tells you how to get things going on. If in case you have any problem, do drop a message and I’ll help you the best I can :).

Special thanks to Cassey and buchin, without who I could not get this running.

Be Sociable, Share!

Author: Categories: How To's Tags: , ,
  1. January 27th, 2009 at 11:37 | #1

    Hi mate.. It’s not showing the list in WP 2.7. Will it work in this latest version? It’s showing the ‘Top incoming search terms for this post’ message, but no search queries. Any inputs?

  2. January 27th, 2009 at 16:23 | #2


    This works fine on 2.7 . I have tested it. Did you test and see if the tables are created in the database ? If they are created, investigate the content and let me know what it has.

    Normally it takes about 24 hrs to display the data once the plugin is installed.


  3. January 28th, 2009 at 17:08 | #3

    Hi Gautahm,

    It looks like all the links are being created in a single blog post. That post is filled with entries from all the other posts while other posts shows just blank search query tags.

  4. January 28th, 2009 at 21:25 | #4

    @hemanth – I’m not sure why that’s happening Hemanth. Can you contact me with more specific details with temporary access to your wordpress blog and database, so that I can investigate further.

    The same piece of code is working fine on some of the blogs. Mail me at gautam[dot]hn[at]gmail and I’ll show some references.

    Here you can have a look at it :


  5. April 18th, 2009 at 16:42 | #5

    Hi….thx again for this amazing plugin…

    but unfortunately….i found the case on our wp_bstat_refs table, the incoming searches doesnt match with the post_id and Top incoming search terms for this post looks so weird… not on relevant page…

    So how we can fix this bug? thx again for your time :)

  6. April 18th, 2009 at 20:55 | #6

    Agusrest – I’ll investigate this n update you soon.

  7. autosfans
    May 23rd, 2009 at 15:03 | #7

    it seems never work now!

  8. Free
    June 15th, 2009 at 05:21 | #8

    Thank you , many times I was search like this plugin

  9. August 11th, 2009 at 01:53 | #9

    I have been searching for this plugin and I feel it has lots of SEO advantage.. I will try this plugin and will get back to you in case of any trouble :)

  10. August 12th, 2009 at 08:30 | #10

    @Harsh – I have taken the plugin down as I plan to improve the code a bit to suit my need. Will upload once I’m done with that.

  11. August 13th, 2009 at 14:57 | #11

    Hi Gautam,
    Waiting for the code. Looks impressive.

  12. August 24th, 2009 at 09:07 | #12

    Hi Gautam,
    If you’re still working on this plugins, can you make the search terms link to url like this: I think it’ll give us more benefits.

  13. August 24th, 2009 at 18:05 | #13

    @Immer – Can you explain how this can be more beneficial. Thanks.

  14. September 19th, 2009 at 00:54 | #14

    Hey mate.. where’s the download?

    If it’s on the site, I can’t seem to find it.



  15. September 19th, 2009 at 10:36 | #15

    @Aidan, I’ve removed the download as the script was buggy. I’ll upload the new one soon.

  16. lala
    September 19th, 2009 at 17:00 | #16

    waiting for your plugin………

  17. September 19th, 2009 at 17:23 | #17

    @Lala – I have exams coming up, so it might take longer than expected ! Sorry

  18. lala
    September 19th, 2009 at 19:21 | #18

    how long will it takes?
    one week? one month?

  19. October 2nd, 2009 at 21:03 | #19

    I am also still waiting for the new version to download.

  20. October 14th, 2009 at 19:50 | #20

    I am waiting, waiting waiting for one of the best plugin .. :)

  21. October 14th, 2009 at 20:20 | #21

    I’m sorry sorry aery. I’m in the middle of shifting and it’s kinda messy at this point to concentrate on all things I had initially planned. It’ll take atleast a month or more for me to get back to work. At this point, I do not even have access to internet at home and I have to find the nearest browsing center to update posts, let alone work and test projects. I promise I’ll come up with a script worth the wait.


  22. October 30th, 2009 at 19:20 | #22

    hi the download link for ” incoming search term tagging ” you provide is not a link ?

    [ Download Incoming Search Term Tagging bStat / bSuite Mod ]


  23. November 5th, 2009 at 23:32 | #23

    Sir Please Help me…How to Create search terms in my wordpress themes..
    (Top incoming search terms for this post) PLZ PLZ help

  24. November 5th, 2009 at 23:34 | #24

    Sir Please Help me…How to Create search terms in my wordpress themes..
    (Top incoming search terms for this post) Plz PLz help me…..

  25. November 7th, 2009 at 13:10 | #25

    @Sriharsh – I’m a it busy with personal work at this point, will send a mail to u as soon as the latest release of Incoming Search Terms is released. Thanks.

  26. mortgage
    November 16th, 2009 at 00:10 | #26

    This plugin is what I am looking for in a week

  27. kevin
    December 9th, 2009 at 08:32 | #27
  28. December 17th, 2009 at 10:58 | #28


    I’m unable to find the download link (looks like you’ve removed the hyperlink) on this post. Can you mail me the plugin/give me the link please?


  29. Search
    January 12th, 2010 at 19:56 | #29

    Does Bstat plugin make google penalty ? I use it and have penalty from google. Or it could be another reason ? please help

  30. March 18th, 2010 at 15:27 | #30

    Hi Gautahm

    I don’t find the download link. Can any link download Incoming Search Term Tagging bStat / bSuite Mod again ?

  31. July 9th, 2010 at 13:31 | #31

    Is there any way to show incoming article only in certain post?

  32. October 6th, 2010 at 08:26 | #32

    Hi All,

    Please download the latest version of this plugin from this post:


  33. October 6th, 2010 at 18:01 | #33

    The plugin is awesome.


    Big thanks to developer.

  34. January 8th, 2011 at 22:28 | #34

    it’s really great plugin.

  35. April 10th, 2011 at 07:37 | #35

    nice plugin, its great and thanks for share

  36. May 4th, 2011 at 15:29 | #36


    Thanks for sharing the plugin.

  37. July 31st, 2012 at 19:08 | #37

    Hi there would you mind stating which blog platform you’re using? I’m
    planning to start my own blog soon but I’m having a difficult time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I’m looking for something unique.
    P.S Apologies for getting off-topic but I had to ask!

  38. June 13th, 2014 at 04:31 | #38

    I’m a wordpress plugin programmer. We have
    designed a plugin that should scrape web surfer’s contact information in to the database without needing their communication and interaction. I am searching for beta evaluators and
    furthermore, as you’ll be gaining significant portions of web traffic, I was looking into both you and your web blog.
    Feeling interested?

  1. November 14th, 2008 at 21:08 | #1
  2. January 20th, 2009 at 02:47 | #2
  3. August 6th, 2010 at 16:30 | #3
  4. March 10th, 2011 at 19:23 | #4