Thank you for visiting cavemonkey50.com. If you're looking for new content, cavemonkey50.com is no longer actively updated. I now maintain a new blog over at ronaldheft.com. I hope to see you there!

WebSTAT Tracker

Current Version: WebSTAT Tracker 1.1

WebSTAT Tracker is no longer supported. If anyone wants to take over this plugin, just contact me and I will be happy to hand over the key.

WebSTAT Tracker adds the necessary JavaScript code to enable WebSTAT logging for any WordPress blog. This eliminates the need to edit your template code to begin logging.

Installation

Drop the webstat-tracker.php file into /wp-content/plugins/, and activate the plugin.

Usage

In your WordPress administration page go to Options > WebSTAT. From there enter your UID and enable logging. Information on how to obtain your UID can be found on the options page.

Once you save your settings the JavaScript code should now be appearing on all of your WordPress pages.

Download WebSTAT Tracker

Current Version: 1.1
Released: 2006-03-04

WebSTAT Tracker is no longer supported and is offered as is.

Download WebSTAT Tracker 1.1

Version History

1.1 - Now hides the WebSTAT button from view.
1.0 - Initial Release

F.A.Q.

Q: Where do I view my stats?
A: WebSTAT Tracker is meant to work with the webstat.com service. You need to have an account with them in order to use WebSTAT Tracker. Once you have an account, use their website to view your stats.

Q: Where is the WebSTAT code displayed?
A: The WebSTAT code is added to the <head> section of your theme. It should be somewhere near the bottom of that section.

Q: Why don’t I see the WebSTAT code on my website?
A: If you have switched off admin logging, you will not see the code. You can try enabling it temporarily or log out of your WordPress account to see if the code is displaying.

29 Comments

  1. 1 Jonathan on Nov 29, 2005 at 5:19 pm:

    do you actually use this bc i found the button to be rather annoying

  2. 2 cavemonkey50 on Nov 29, 2005 at 6:44 pm:

    No I don’t. This plugin was requested by someone. I put the thing up for download in case anybody else wanted it.

  3. 3 tommy on Dec 29, 2005 at 11:09 am:

    Hi I’ve installed webstat but i can’t find the UID code can u help me please?
    Thanks

  4. 4 cavemonkey50 on Dec 29, 2005 at 11:20 am:

    Unfortunately I’ve never used the WebSTAT service so I have no l clue to find it. My guess would be that it’s somewhere in the code they give you to put on your website.

  5. 5 nick on Jan 10, 2006 at 2:15 am:

    Any ideas on how to relocate the button?

  6. 6 Jesse on Mar 3, 2006 at 9:46 am:

    So how do I change the position of the button? I’d prefer to have it in the sidebar and not at the top of the page.

    Thanks.

  7. 7 cavemonkey50 on Mar 3, 2006 at 12:40 pm:

    Jesse: So how do I change the position of the button? I’d prefer to have it in the sidebar and not at the top of the page.

    Thanks.

    So let me get this straight. A WebSTAT button appears at the top of your page? To be honest, I never have used the WebSTAT service. I custom built WebSTAT Tracker for a person who gave me all the specs to make it for them. If the button does appear on the top I’ll see if I can work something out.

  8. 8 Jesse on Mar 3, 2006 at 12:43 pm:

    Yeah, it’s on the very top of the page. You can see it at http://ghettobase.com/weblog

    Thanks for the reply.

  9. 9 cavemonkey50 on Mar 4, 2006 at 1:58 pm:

    Alright Jesse, give the new beta version a try. I know for sure the button won’t be displayed now, I just need you to confirm that WebSTAT is still logging hits after this update. Once I get the okay from you, I will deem this version 1.1.

  10. 10 Jesse on Mar 5, 2006 at 1:25 am:

    It works! Thanks!

  11. 11 Alan Kellogg on Apr 8, 2006 at 3:17 am:

    Found it!

    http://www.webstat.com/

    Easy to set up and configure. But I recommend the basic service unless you already have tons of visitors. :)

  12. 12 Jellyman on Apr 16, 2006 at 11:58 am:

    I tried to use this thing … it’s no good. You should try codes before publishing it. I use OtherStats now.

  13. 13 cavemonkey50 on Apr 16, 2006 at 3:59 pm:

    Jellyman: I tried to use this thing … it’s no good. You should try codes before publishing it. I use OtherStats now.

    I’m sorry it doesn’t work for you. Would you mind sharing what was wrong with it? If you don’t tell me what’s wrong I can’t do anything to fix it.

  14. 14 MikoKagome04 on Jul 10, 2006 at 1:39 am:

    The Webstat code should be inserted between the body tags instead of the head section; consequently, the div tag invalidated my XHTML document because it isn’t allowed in the head section. I don’t know PHP myself (otherwise, I would modify it), so I had no choice but to delete the plugin.

  15. 15 cavemonkey50 on Jul 10, 2006 at 2:24 am:

    MikoKagome04: The Webstat code should be inserted between the body tags instead of the head section; consequently, the div tag invalidated my XHTML document because it isn’t allowed in the head section. I don’t know PHP myself (otherwise, I would modify it), so I had no choice but to delete the plugin.

    MikoKagome04, I’m well aware that I’m breaking validation by inserting the HTML code there. Unfortunately there is no way to rectify the problem. WordPress does not provide a tag to place code within the body section of the site, and WebSTAT inserts an ad on the page if I don’t add the CSS that breaks validation. Sorry that WebSTAT Tracker breaks your validation, but there is nothing I can do. If validation matters so much to you, I would just insert the code manually.

  16. 16 MikoKagome04 on Jul 10, 2006 at 2:27 pm:

    cavemonkey50:

    MikoKagome04, I’m well aware that I’m breaking validation by inserting the HTML code there. Unfortunately there is no way to rectify the problem. WordPress does not provide a tag to place code within the body section of the site, and WebSTAT inserts an ad on the page if I don’t add the CSS that breaks validation. Sorry that WebSTAT Tracker breaks your validation, but there is nothing I can do. If validation matters so much to you, I would just insert the code manually.

    Well, yes, inserting the code manually is precisely what I did. T_T

    I did like that idea for the plugin and its ability to control administrator logging, however, so if you ever figure out a way to fix it, let me know.

    But…oh, how about this: instead of putting a div element around the script tag, give the script element an id and provide the user instructions on how to add a snippet of code to the CSS that’ll hide it…? I’ve just tested this idea (with the document linking to a bogus .js file), and it still validates! So what do you think?

  17. 17 MikoKagome04 on Jul 10, 2006 at 2:34 pm:

    Aaaaaagh… trying to correct my author URL…

  18. 18 cavemonkey50 on Jul 10, 2006 at 2:35 pm:

    Give me one moment, I’m trying your suggestion now. If it works a new version will be out in a few moments. :-)

  19. 19 cavemonkey50 on Jul 10, 2006 at 2:42 pm:

    No, it doesn’t work. The CSS doesn’t apply to the script in the head section of the HTML.

  20. 20 wade on Jul 11, 2006 at 2:16 pm:

    I see nothing that looks like, “wsv2.cgi?11111″ in the code they gave me and I’ve been looking for 10 minutes. It’s not there.

  21. 21 cavemonkey50 on Jul 11, 2006 at 2:20 pm:

    wade: I see nothing that looks like, “wsv2.cgi?11111″ in the code they gave me and I’ve been looking for 10 minutes. It’s not there.

    Send an email to ron [@] cavemonkey50 [.] com with the code that they gave you. I’ll see what they changed.

  22. 22 Devynci on Sep 21, 2006 at 7:35 pm:

    I’m not finding a UID either. The only codes given to me are the ones located within webstat.php - Am I doing something wrong?

  23. 23 Ronald Heft on Sep 21, 2006 at 7:59 pm:

    No, you’re not. They must have changed their code. Can you send me the code snippet they gave you (email me). I can check it out and update the plugin.

  24. 24 worddiva on Oct 22, 2006 at 5:22 pm:

    So once you get the plugin activated and everything, WHERE do you go to see your stats? I’ve looked everywhere in my dashboard and I see nothing about webstat other than the one config page.

  25. 25 worddiva on Oct 22, 2006 at 5:26 pm:

    Ohh, I see. I would need to go to webstat.com and set up an account and then get the number THEY assign (not the 11111) and enter that in the configuration page. You should include that little tip in your instructions under Usage and I bet it would clear up all the confusion for everyone.

    Well, I’m looking forward to giving it a shot! Thanks.

  26. 26 Ronald Heft on Oct 22, 2006 at 10:28 pm:

    Thanks for the suggestion. I’m adding it to the FAQ.

  27. 27 Todd on Jan 28, 2007 at 6:32 am:

    Hi, Its working fine for me… but i have a question about validation. why is it important and should i be concerned? if it breaks validation what happens? sorry for the newb questions…

  28. 28 Ronald Heft on Jan 28, 2007 at 1:31 pm:

    Validation means that your code conforms to a set standard that all browser are supposed to follow. Unfortunately, not ever browser follows this set standard (namely IE), so it kind of makes validation useless. The whole point of validating is that your code should be displayed the exact same way on every browser. Don’t worry, what WebSTAT Tracker does to break validation won’t alter your site design in anyway.

  29. 29 Todd K on Jan 28, 2007 at 3:46 pm:

    THANK YOU.. totally makes sense and i understand why MS is hated by some

4 Trackbacks/Pingbacks

  1. [...] WebSTAT stat [...]

  2. [...] Once you save your settings the JavaScript code should now be appearing on all of your WordPress pages. http://cavemonkey50.com/code/webstat-tracker/ [...]

  3. [...] Visit [...]

  4. [...] and Mean will be updated this weekend if all goes to plan, and I’m discontinuing support for WebSTAT Tracker. Very few people use WebSTAT Tracker and I personally feel it’s a waste of time updating [...]