Code for a Site Counter
by Jean DAndrea Retired
Jean DAndrea Retired
Recently I've been redesigning my website, which I'm only about ten percent through.
It's turning into a much bigger job that I'd anticipated, so haven't been around
very much to chat.
Anyway, instead of linking to one of the many free site counters around, I was
wondering if anyone has the code for a simple counter which I could incorporate
into my site, or can tell me where to get it.
Have been searching around, but haven't found one I can understand or like
yet. Maybe I haven't looked in the right places?
Maybe this isn't possible without knowing PHP or Javascript?
Help would be much appreciated.
Feb 11th 2008 21:42
Recently I've been redesigning my website, which I'm only about ten percent through.
It's turning into a much bigger job that I'd anticipated, so haven't been around
very much to chat.
Anyway, instead of linking to one of the many free site counters around, I was
wondering if anyone has the code for a simple counter which I could incorporate
into my site, or can tell me where to get it.
Have been searching around, but haven't found one I can understand or like
yet. Maybe I haven't looked in the right places?
Maybe this isn't possible without knowing PHP or Javascript?
Help would be much appreciated.
Feb 11th 2008 21:42
Sponsor Ads
Comments
Jean DAndrea Retired
Hi Mark, No I haven't got the project manager, but it seems like something I could use right now! Thanks. :-) Also, thanks for the dynamicdrive.com site, I'll have a browse around and see what I can find. Jean Feb 11th 2008 22:45 |
David Schupbach
here is a simple code I had in my code file, I don't know much about it, or where I got it, but maybe it will help. <!-- start counter code --> <script type="text/javascript"> var referrer = escape(document.referrer); var width = screen.width; var height = screen.height; referrer = (referrer == '') ? '-' : referrer; width = (width == '') ? '-' : width; height = (height == '') ? '-' : height; var params = referrer + '/' + width + '/' + height; document.write('<img src="http://www.freecountersnow.com/gc/8145787c1bdb400c101b06792519f423689bea6e/' + params + '" alt="">'); </script> <noscript> <img src="http://www.freecountersnow.com/gc/8145787c1bdb400c101b06792519f423689bea6e/-/-/-" alt=""> </noscript> <br> <a href="http://www.registereverywhere.com" style="font-size: 8pt;">Search Engine Placement</a> <!-- end counter code --> Feb 27th 2008 21:07 |
Jean DAndrea Retired
Hi Mo, Thanks for the code. I'll check it out when I get back to working on my site again. Having a little PC trouble at the moment - can't log into some sites I'm a member of. Very strange, because I drove to my sister's place, and can get in ok from there, but get time-outs on my PC. Catch you later. Jean Feb 27th 2008 23:08 |
Hi Snakesmum,
The best place I know of to pick up some great FREE code is at dynamicdrive.com.
When you get there, you will probably find some other great snippets that you might like as well.
P.S. Have you picked up the project manager from 2getsales.com yet? It is free and will help you stay on track for your projects too!
Feb 11th 2008 22:28