Is this will cause a problem for my website?

Discussion in 'JavaScript' started by hhheng, Sep 17, 2006.

  1. #1
    All, my web host doesn't provide daily traffic report, so I turn to some web traffic monitor agents. As you know, most of them needs to insert their javascript code into my pages.

    Currently I'm using statcounter.com and ritecounter.com to monitor my traffic. So I inserted 2 javascript codes into my pages, one in the <head> part, and one in the <body> party.

    Can anybody tell me whether this will cause a problem for my site? Can we insert any quanities of javascript codes from different providers?

    Thanks.
     
    hhheng, Sep 17, 2006 IP
  2. tyggemannen

    tyggemannen Guest

    Messages:
    842
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Why are you using two? If you dont care to have a host that gives you stats, at least statcounter should give you enough. You are giving them a link, passing PR, wich could have been passed to your own pages.
     
    tyggemannen, Sep 17, 2006 IP
  3. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #3
    if js code correct and inserted at correct page-location
    yes you can have any number of js code inserted

    but

    it makes no sense at all to use multiple code for external site stats - better you use access_lolg files directly and create your own offline stats with all the details you need or want for best details and accuracy
    if using your accedss_log files you need NO js code at all and hence get all pages into your stats
     
    hans, Sep 17, 2006 IP
  4. hhheng

    hhheng Banned

    Messages:
    2,633
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hans,

    how to make the access_log files?

    Thanks
     
    hhheng, Sep 17, 2006 IP
  5. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #5
    no need to make them yourself every normal host has them ready for you
    either daily files or weekly
    just look at all your folders on your accoutn there might be one your host stores the access_log files for you
    else study the hosts FAQ to look where to find the files
    or ask the hosts support

    then once you have your own access_log files
    downoad and process offline with the access-stat software of YOURF choice
    there are many such scripts out there
    and you find surely also trhreads HERE in the forum where different forum members share their experiences with various stat-software

    myself i use angolizer - a variation of webalizher
    others use awstats or similar software
    hotscripts.com may have a choice for download
     
    hans, Sep 17, 2006 IP
  6. hhheng

    hhheng Banned

    Messages:
    2,633
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Will try, thank you Hans
     
    hhheng, Sep 18, 2006 IP