SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Hit counter

  1. #1
    SitePoint Member
    Join Date
    Jan 2007
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Hit counter

    Hello again,

    Well I'm almost complete with our company training tool. However a need to place a HIT COUNTER on it, and have looked at many free offers. All the counters I've seen just place a counter on my site and send the information to another site that analyzes it for me. My company won't allow that. I need the code for a counter that does not export any information out. Please can anyone help me with a source or how to write the code in either html or javascript.

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Create a cookie. When someone opens the page, use the window.onload event to add 1 to the value in the cookie, and then display the value.

  3. #3
    SitePoint Member
    Join Date
    Jan 2007
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you ...not sure how that is done but you've given me a head start where to research. ..unless somebody has any quick easy code for me.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •