Gossamer Forum
Home : Products : DBMan : Customization :

Tracking Links

Quote Reply
Tracking Links
I would like to track the number of clicks the links to external sites in my database gets. I have written a second tracking script to handle this function. What I need to sort out is how to make the link appear to the visitor to go directly to the other web site, but when clicked it runs through the second cgi. This is simple to do normally, it would be like this:

[A HREF="http://www.domain.com/cgi-bin/track.pl"]http://www.otherdomain.com[/A]

In the script though, how could I make this happen? I have tried modifying the %db_def section of my default.cfg file

Thanks for any suggestions.

Quote Reply
Re: Tracking Links In reply to
Nevermind, got it working easily by adding my customized link info in the html.pl file, like this:

VALUE="http://www.domain.com/cgi-bin/track.pl?url=$rec{'URL'}"

Smile