Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save activeprospect-support/da844cf9abd7372fe76a to your computer and use it in GitHub Desktop.
Save activeprospect-support/da844cf9abd7372fe76a to your computer and use it in GitHub Desktop.
How to track web traffic using campaign fields
<?
$trafficsource = $_GET['trafficsource'];
$keyword = $_GET['keyword'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title> </title>
</head>
<body>
<form>
<input type="hidden" name="trafficsource" value="<?=$trafficsource?>"/>
<input type="hidden" name="keyword" value="<?=$keyword?>"/>
</form>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment