Hi David,
Just wondering if it's possible to have a page in-between my affiliate site and merchant site similar to when you click buy on the following page {link saved}. I saw this on Pricetapestry.com a long time ago but can't track it down.
Would make my site more transparent, and also I think would allow for the creation of a goal in google analytics to see where my visitors were leaving my site.
Thanks
Adrian
Hi Adrian,
Sure - start with the alternative jump.php from this comment which is from a thread concerning the use of Google Analytics on the jump page. At the point in the code where you see:
<!-- Google Analytics Code Here -->
...simply replace with whatever HTML you wish to present to your users as they leave your site.
You may want a longer delay than 1 second, which you can change in the following line:
print "<meta http-equiv='refresh' content='1;url=".$product["buy_url"]."' />";
If you wish to include the merchant name in your HTML it will need to be added to the SELECT so where you have this code:
$sql = "SELECT filename,buy_url FROM `".$config_databaseTablePrefix."products`
...REPLACE with:
$sql = "SELECT merchant,filename,buy_url FROM `".$config_databaseTablePrefix."products`
And then in your HTML you could use, for example:
Thank you for visiting example.com!
You are now being directed to <?php print $product["merchant"]; ?>
Cheers,
David.
--
PriceTapestry.com