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.
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
do you actually use this bc i found the button to be rather annoying
No I don’t. This plugin was requested by someone. I put the thing up for download in case anybody else wanted it.
Hi I’ve installed webstat but i can’t find the UID code can u help me please?
Thanks
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.
Any ideas on how to relocate the button?
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.
Yeah, it’s on the very top of the page. You can see it at http://ghettobase.com/weblog
Thanks for the reply.
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.
It works! Thanks!
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.
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.
The Webstat code should be inserted between the body tags instead of the head section; consequently, the
divtag 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.
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
scripttag, give thescriptelement anidand 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?Aaaaaagh… trying to correct my author URL…
Give me one moment, I’m trying your suggestion now. If it works a new version will be out in a few moments.
No, it doesn’t work. The CSS doesn’t apply to the script in the head section of the HTML.
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.
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?
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.
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.
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.
Thanks for the suggestion. I’m adding it to the FAQ.
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…
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.
THANK YOU.. totally makes sense and i understand why MS is hated by some
4 Trackbacks/Pingbacks
[...] WebSTAT stat [...]
[...] Once you save your settings the JavaScript code should now be appearing on all of your WordPress pages. http://cavemonkey50.com/code/webstat-tracker/ [...]
[...] Visit [...]
[...] 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 [...]