Gossamer Forum
Home : Products : Links 2.0 : Customization :

integrate stats script ti know where visitors go

Quote Reply
integrate stats script ti know where visitors go
Hi Cool

i use a script for tracking visitors pages viewings in the site.

but this script says -to know where visitors are going when they're leaving- that my links must be coded like :

<a href="/cgi-bin/stats/ax.pl?http://yahoo.com/">http://yahoo.com/</a>

well can this be managed with Links2 ???

Just in case of ...

Wink
Quote Reply
Re: [jigme] integrate stats script ti know where visitors go In reply to
Towards the bottom of jump.cgi, do like this:

# Now let's send the user to the url..
$goto ?
print "Location: http://yoursitenamehere.com/.../axs/ax.pl?$goto\n\n" :
## print "Location: $goto\n\n" :

Of course, change "yoursitenamehere to your site name (URL).


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] integrate stats script ti know where visitors go In reply to
Thanx a lot. It works very fine.Smile Wink Cool

I wonder also something else about the use of (i guess) 'jump.cgi' :

when i create a new record, i must fill the 'URL' field with:
/cgi-bin/cards/upcardme.cgi?pic=animal_03.jpg&lang=english.pm

then i must fill again another field 'cardkeyword' with the same:
'animal_03'
in order to print '<%cardkeyword%>.jpg' (or 'animal_03.jpg') and '<%cardkeyword%>_sml.gif' (or 'animal_03_sml.gif') in templates.

i just wonder :
is there a way to avoid to fill the 'URL' field so that it is filled automatically with the adress including the 'cardkeyword' like, somehow :
/cgi-bin/cards/upcardme.cgi?pic=<%cardkeyword%>.jpg&lang=english.pm