Web Analytics Made Easy -
StatCounter Link Counter - CodingForum


No announcement yet.

Link Counter

  • Filter
  • Time
  • Show
Clear All
new posts

  • Link Counter

    I am new to all this so go easy, thanks... First G'day all, I am Ray from downunder. I have a problem, I need to have a counter fitted to every link in my download section of my new web site I am building. How do I get a text counter to count the times the link is click. ? I need it to look like {Cessna 152.zip Downloads 3453} I hope you can help me.. Thanks again.

  • #2
    sorry to tell you that this cannot be chieved using javascript, your best bet will be PHP to make a counter or anything to record stats
    photoshop too expensive? use the GIMP! www.gimp.org


    • #3
      also, checking the number of times the link is clicked wouldn't necessarily tell you the number of times the file is downloaded. you'd need a system in place to tell you the number of times the file was requested. most systems for keeping track of site traffic will do this for you, so if you have one of those, you should be all set.
      bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

      i am a loser geek, crazy with an evil streak,
      yes i do believe there is a violent thing inside of me.


      • #4
        Welcome Ray, to do what your asking you would need a couter for your page(s). This will create logs for you to show you who is visiting your pages, when, with what browser, etc., depending on the counter you use. You don't really 'fit' it to all of your links, but you can set-up the counter so your site logs will show you, for example, how many times 'Cessna_152.zip has been accessed.

        Unless you use a web based counter like IndexTools, which is relatively less reliable and provides you with more limited information about your visitors than something server-side, you'll need to set something up 'server-side' for your counter. There are counter scripts available in quite a few different server side languages. Does your host allow you to use PHP or CGI? What does your host allow? Reply back with some details about your host and / or preference of server side languages and someone will help you further. Good luck .
        Last edited by boxer_1; Jun 29, 2002, 07:50 AM.
        CodingForum Moderator
        "How did a fool and his money get together in the first place?"


        • #5
          Thanks for pointing me in the right direction. This can save a lot of time..