Results 1 to 5 of 5

Thread: How to count hits from a specified URL

  1. #1
    Join Date
    Jun 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to count hits from a specified URL

    Hello,

    First, I like to thank you for reading my message.
    I have a specified URL (link, eg. www.amygirl.com) on my domain www.russianbride72.com, I want to count hits every time a user click on this link (www.amygirl.com).
    I dont' know how to do it from JS.
    Can you please help me to create a simple script to track hits from a specified URL?

    Thanks again.
    Amy.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I don't believe that this can be done entirely in javascript. Javascript doesn't have anywhere permanent to store the hit data. There are third party hit counters - both visible and invisible, and with other options available many places (search with Google for 'hit counter'), many if not most of these are free, and your host may even have one or several available for your use - contact them or read/search your host's documentation.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    All hit counters online is to track web site, NOT individual link on a web page.
    Can you help?
    thanks.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Dig a little deeper:

    http://www.mywebstats.org/

    for instance offers (free):

    What reports will I receive?
    • Page views and visitors by hour, day and month
    • Breakdowns by browser, language and system
    • Breakdowns by screen resolution and colour depth
    • Graphs and textual reports
    The highlighted feature should get you the count for any particular page. This might be even better than counting the number of times a particular link was clicked.

    Why exactly do you want this?

    Also see (link click counters):

    http://www.google.com/search?hl=en&c...er&btnG=Search

    and (click tracking):

    http://www.google.com/search?hl=en&c...ng&btnG=Search
    Last edited by jscheuer1; 06-25-2007 at 07:29 PM. Reason: add info
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jun 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    big thanks.
    php link click is it.
    thanks again.

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
  •