dewey
Posts: 68
Joined: 08 May 07
Trust:
06 Nov 07 4:26 am
Multiple tracking codes
Hi
I found the help from Sean and Adrian that explained how to redirect a click from a search engine to your site:
<?PHP
Header("Location:
http://affiliate.product.hop.clickbank.net/?tid=xxxxxxx");
Exit;
?>
This is really great, and I use it now with success. However, I would like to track multiple ads with different ID codes. Up until now, I've had a separate folder on my site, each with its own PHP file for each ad to link to. This was good with a small amount of ads. Now I've got lots.
I'm not really sure how link hijacking works from a technical standpoint, but would it be safe for me to somehow pass an "ad ID code" to my PHP page, so I could have only that 1 PHP page on my site instead of hoards, and based on the ID code the page receives, it would know which site to direct the user to?
Thanks for the help!
-Dewey