How to track Cpa keywords with php redirect?

Status
Not open for further replies.

akk0

Danny Trejo Power!
Nov 7, 2006
179
3
0


print your code here, then I'll give advice. Honestly, I am not sure what you are trying to do...are you going direct to offer or your own landing page? If your own, how can't you pass on the keyword? doesn't make sense...please print code and I'll see what I can do. And this really should be in the Design and Development forum.
 
EDIT: this is if I understood you. You want to track the keyword through a php redirect, correct?

Use ob_start() and ob_end_flush()

Code:
<?php
// Set output buffering
ob_start();

// Get the keyword from the url
$subid = $_GET['keyword'];

// Send a header, redirect to offer
header("Location: http://www.affiliatelink/subid=$subid");

?>

Something like that.
 
Status
Not open for further replies.