Ok Coffee on desk :)
This is an example of the code I need to add
<?php
$pageNum=4;
// the Num would change with every page tracked.
$trackweb='http://www.domainname/folder';
include('/server/path/to/folder/file_name.php');
?>
Thanks
Kev
Ok Coffee on desk :)
This is an example of the code I need to add
<?php
$pageNum=4;
// the Num would change with every page tracked.
$trackweb='http://www.domainname/folder';
include('/server/path/to/folder/file_name.php');
?>
Thanks
Kev
Last edited by profitshock; 1 Oct 2006 at 04:15 AM.
Clyde,
When I got round to implementing the idea it fell over. Still only one tracking code available. Having said that the IF statement looked like the begining of a product loop to me.
Thanks
Kev
Try this code at the bottom of tpl_product_info_display.php
don't forget to define the TRACKING_CODE and TRACKING_CODE_BLANK as indicated in my previous post.PHP Code:
<p>
<?php
$product = $_GET['products_id'];
if ((int)$cPath>0 && $product==?? or $product==??){
echo TRACKING_CODE;
}else{
echo TRACKING_CODE_BLANK;
}
?>
</p>
Bookmarks