Thursday, July 26, 2012

Javascript hit counter for a website



I\’m trying to code a hit counter for a website. As a preference, not required, I\’m trying to use Javascript to do this. On the website\’s html file, I\’m reading a number from a javascript file and outputting that. How can I make it \”count\” every time a hit occurs?


Sorry for such a vague question. Am I on the right track going about this? Any tips, code, or references will be much appreciated.


Thanks!






Rating: 5 out of 5 based on 5 ratings



The post Javascript hit counter for a website appeared first on Javascript ASK.






via Javascript ASK http://javascriptask.phpfogapp.com/javascript-hit-counter-for-a-website.html

No comments:

Post a Comment