Passing a Variable with P202 Generated Redirect

mlektra

Banned
Jan 8, 2008
57
1
0
Canada
Hi guys, prosper gave me a php code for my redirect. it looks like this :

<?php

// -------------------------------------------------------------------
//
// Tracking202 PHP Redirection, created on Sun Dec, 2009
//
// This PHP code is to be used for the following setup:
// MY SUPER AFFILIATE OFFER
//
// -------------------------------------------------------------------

$tracking202outbound = 'http://www.mydomain.com/tracking202/redirect/off.php?acip=8387&pci='.$_COOKIE['tracking202pci'];

header('location: '.$tracking202outbound);

?>


Ok. But let's imagine that code is included in this file called "offer1.php" and the link that goes there looks like this :

http://www.mydomain.com/goto/offer1.php?kw=popexit

so the keyword I want to pass is "popexit"

The thing is with that setup, the keyword do not go throught the redirect...because i don't see it in my p202 stats. I checked with Live HTTP Headers and no, it's not going throught...

Any clues on how to solve this ?
 


you have to go into the administration tab of prosper and make sure that its picking up the bidded keyword. you might also want to pull the get variable into your redirect and append it to your outbound link./
 
like this:

<?php

$kw = $_REQUEST['sub'];
$dest1= "http://www.example.com/test.php?t202id=71352&t202kw=";
$dest_2= $dest1.$kw ;

header("Location: $dest_2");

?>
 
Before doing these changes, let me give you the funnel and the way I setted up my links in p202.

Banner Ad on website ---> Link on my site (3 links availabe so I put a kw id on each of them : &kw=text / &kw=sidebar / &kw=popexit) ---> Geo-Redirect Script (here I have 4 possibilities of country redirect. I pass the variable with GET) ---> Rotator Script ( I have 5 offers that rotate. This is where I put the http://www.mydomain.com/goto/offer1.php?kw='.$keyword that goes to the prosper redirect. This is where the variable is "lost". The p202 redirect code don't "catch" the variable ) ---> Offer

The thing here is that with that funnel, I am not sure on how to get the outbound links with prosper. Be aware that this is in the rotator script that I put the prosper links. In that case, it's the p202 redirect file on my server (the one that I put in my first post).

That's what I did to get my links in p202 :

1. Get LP Code / Advanced Landing Page

I choosed this option since I have 5 offers that rotate. But the thing is that in fact, visitor don't have the choice between 5 offers. It's always one offer. So I'm not sure if it is either a Simple or an Advanced Landing Page. If I had choosed the simple landing page options I would have a normal link that would end with t202kw=. So it would have been easier to pass the variable?

I'm not sure either if I could just have choosed the option "GET LP CODE / Simple Landing Page" and get the links or just the "GET LINKS" option. I guess since I have a landing page I can throw away the option "GET LINKS".

Hope you guys are not too overwhelmed. It looks complicated but it's not. You guys could join me on AIM if you want more details.

you have to go into the administration tab of prosper and make sure that its picking up the bidded keyword. you might also want to pull the get variable into your redirect and append it to your outbound link./
After reading my stuff do you still think that's the thing I should do?


ps. Could somebody tell me WHERE in a normal Advanced LP setup where I send visitors with normal PPC (let say Bing), where the kw is "catched" by prosper? Is it in the landing page code?