1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

tracking

Discussion in 'PHP' started by praveen, Jul 26, 2005.

  1. #1
    one of my client has got comdev link manager script to organise the links.

    the script itself has got no problems. everything is working fine.

    but when it comes to tracking the pages visited, i am into a lil issue.

    basically this is a plugin kinda script so one just needs to input the codes into one page and then its taken care of.

    now, i have a page called links.htm where in this script is being called

    for subsequent categories/link details it shows the url as

    links.htm?parentid=xx


    unfortunately webaliaser or awstats are not able to track these..
    they just say links.htm has been viewed xxxx times..

    what i would like to know how to track these sub pages

    like : links.htm?parentid=1 viewed xxxx times
    links.htm?parentid=2 viewed xxxx times.

    like this and so on for all the categories??

    any help would be helpful.

    thanks.
     
    praveen, Jul 26, 2005 IP
  2. yabsoft

    yabsoft Active Member

    Messages:
    118
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    you should use mod rewrite to make the dyn url to static url:
    links.htm?parentid=1 -> links-1.htm
    Then webaliaser will record them
     
    yabsoft, Jul 29, 2005 IP
  3. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can use this version of webalizer to track URLs with parameters:

    http://www.stonesteps.ca/webalizer

    Keep in mind that its output is not compatible with the classic webalizer - back up your stuff before giving it a try.
     
    J.D., Jul 29, 2005 IP
  4. praveen

    praveen Notable Member

    Messages:
    1,249
    Likes Received:
    122
    Best Answers:
    0
    Trophy Points:
    205
    #4
    i tried using mod rewrite.

    personally, i have not used it much and dont know much abt it..

    so i used the mod rewrite generator from webmaster-toolkit

    when i put that in my site, it doesnt seem to work.

    any ideas.

    JD, i will try that one out.
    thanks.
     
    praveen, Jul 31, 2005 IP
  5. yabsoft

    yabsoft Active Member

    Messages:
    118
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #5
    I extract a part from my htaccess,try it if it works.
    You need change "links.html?parentid=x" to "links-x.html" in page,then click it.
     
    yabsoft, Aug 2, 2005 IP
  6. praveen

    praveen Notable Member

    Messages:
    1,249
    Likes Received:
    122
    Best Answers:
    0
    Trophy Points:
    205
    #6
    thanks yabsoft. i shall try that.

    to give a lil more clear picture.

    the script is installed in a dir of its own.

    the links are called by a page called links.htm where 2 php's are linked.
    a config script and another to show the links.

    so the actual page which displays thelinks is in the root directory

    www.somesite dot com/links.html?parent_id=xx

    etc..
     
    praveen, Aug 2, 2005 IP