Mediatraffic target passing with p202?

Avalanche

New member
Jun 27, 2006
737
5
0
Anyone know how to handle target passing from mediatraffic to p202? mediatraffic seems to append their own variable. I'm using a landing page, too which is the rub. I know how to grab the variable with php & pass it to the LP, but no clue what to do with it on the outgoing LP code prosper gives me. Done some googling & pretty surprised I haven't found an answer. Btw, I have cpvlab but can't use it for this project (dynamically-generating offer url subdomains w/ prosper)
 


Submit a file to MediaTraffic called redirect.php and turn on the target passthrough. When you do, Mediatraffic appends the keyword to your link so it becomes redirect.php?target_passthrough=xxxx and your file should contain this...

Code:
<?php
$kw = $_GET['target_passthrough'];
header("Location: http://yourlander.com?t202id=1234&t202kw=$kw");
?>
 
I just noticed I completely misread your question and you already know how to pass variables. There is nothing different about setting up Prosper when passing variables, just place the Javascript code before </body> and place the outbound PHP code in it's own file... like out.php or whatever you wanna name it.

Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<title>My Lander</title>
</head>
<body>

<h1>My Headline</h1>

<a href="out.php">Click Here!</a>

<!-- Prosper JS code goes here -->

</body>
</html>

Your file structure would look like this...

yourlander.com/
-index.php
-out.php
-style.css
-redirect.php
 
Last edited: