P202 Keyword Tracking Issue

gamingneeds

New member
Jul 1, 2009
169
1
0
I created a simple PHP script to redirect users based on location.

Basically, if one guy comes in via a specific location, they go to Offer 1.
If another guys comes in via another location, they go to Offer 2.

So I put in a simple landing page script from Prosper, like this:

Code:
 if (isset($_COOKIE['tracking202outbound'])) {
    $tracking202outbound = $_COOKIE['tracking202outbound'];     
  } else {
    $tracking202outbound = 'http://www.mydomain.com/tracking202/redirect/lp.php?lpip=XXX&pci='.$_COOKIE['tracking202pci'];
  }
  
  header('location: '.$tracking202outbound);
After that I have some code that's basically:

Code:
if($site==1){
            
            header("location: $offer1Url");
                    
    }
        
    else{
            
            header("location: $offer2Url");
            
    }

?>
Those offerURLs are standard P202 URLs similar to this:

Code:
http://www.mydomain.com/tracking202/redirect/dl.php?t202id=XXX&t202kw={subid}
Well when I initially tested it, it seemed to work fine. The keyword was coming through, blah blah blah, everything looked great.

I launched a real campaign of mine using the same code I used on the pre-test, but now if I follow-through one of my ads, it is no longer showing my the correct keyword like it was before.

I really don't remember changing anything that would cause this to screw up but then again I've been working on (and testing) the damned thing all day so who knows.

The keyword now is showing in P202 as "{subid}" - or another dynamic insertion instead of "keyword" like it was before.

Anybody know a fix to this? I really just want to be able to split up traffic and still have the referrer, keyword, etc come in to P202! I know its not that hard. :p