Hi guys. I had a question about tracking an affiliate campaign when form data is being attached to the affiliate URL. So basically, the landing page contains a form with a few fields and the information in these fields are then attached to the affiliate URL. So with my limited PHP skills, I came up with this to grab the field data and attach it to the affiliate URL, which works fine, but my question is how do I then tie this in with prosper202 to track the campaign?
Thanks a lot!
Code:
<?php
$firstname = $_POST['fname'];
$lastname = $_POST['lname'];
$state = $_POST['state'];
$url = 'http://AFFILIATEURL.COM';
$param1 = '&fname=' . $firstname;
$url .= $param1;
$param2 = '&lname=' . $lastname;
$url .= $param2;
$param3 = '&state=' . $state;
$url .= $param3;
?>
<meta http-equiv="refresh" content="0;URL='<?php echo $url>'">
Thanks a lot!