For search campaigns, we have finally started using one of our own URLs as the destination URL and then redirecting to the Azoogle offer page. The problem is we are using all of the Sub ID that is coming through off of the click. Everything we put into the Sub ID is now lost becuase of the redirect, which I suspect we have not set up correctly. How do we structure the destination URL in our search campaign and/or redirect so that the Sub ID string is still passed along? Thanks!
Destination URL from Ads http://www.bluebobbo.com/?subid=subidhere PHP Index.php $subid = $_GET['subid']; All links on Index.php have to pass the $subid to the Redirect page. So links should look like: http://www.bluebobbo.com/redirect.php?subid=<?php echo $subid; ?> Redirect page should look like this: $subid = $_GET['subid']; $redir = 'http://x.youraffillink.com/?sub='.$subid; header("Location: $redir");
Your link I assume looks something like this... http://www.yourdomain.com/landingpage.php?sub=keywords I am assuming you are using PHP. If you are not, then I suggest you change your file from HTML to PHP. All that will require is changing the extension from .html to .php Then you will need to add this code to the top of the file (assuming your URL now looks similar to the one above in bold): <?php //this is your affiliate link $afflink = "http://x.azjmp.com/0TfnY"; //this grabs the sub variable from the URL $sub = $_GET['sub']; //this concatenates the affiliate link with the subid, and stores it as the variable newlink $newlink = $afflink . "?sub=" . $sub; ?> Code (markup): Then wherever on your landing page you have an affiliate link, you change the link from this: <a href="http://x.azjmp.com/0TfnY">Click Here</a> Code (markup): to this: <a href="<?php echo $newlink; ?>">Click Here</a> Code (markup): That should be all you need. Read up on PHP and the $_GET function