RE: Tracking Advertising Performance

cgchris99 <[email protected]> 12 Aug 2003 01:53:39 -0000
Newsgroups gmane.comp.web.oscommerce.tips
Message-ID <be2fdd973bcb52c7c9ba0b06d4cd4327@osCommerce-Forums>
This message was sent from: Tips and Tricks
http://forums.oscommerce.com/viewtopic.php?p=212112#212112
----------------------------------------------------------------

I am trying to load Ad Tracker on my test server.
It is picking up the Referring page url but it will not pickup the Ref

This is part of the code loaded by ad tracker
 //user_ad_tracker modification
  if ($ad) {
      $advertiser = $_GET["ad"];  
      tep_session_register('advertiser');      
   } 

I changed the "ad" to "ref"

But what I don't understand is how it is checking  if ($ad)  I see no reference to this anywhere.

I put a link on one of my sites.  
http://www.mydomain.com/default.php?ref=123

So I would expect it to pickup the 123.  It gets the referring page name correctly which is http://www.mydomain.com/links.html

Any one have any ideas?

Thanks