Programming

  • 9 {{ upvoteCount | shortNum }}

    How to put PHP tracking code on individual Wordpress Posts

    cosmolito in Programming

    This PHP tracking code below is what I want to put on this ONE page on my site How Buy Silver Bullion PHP Code: <?     $referrer = urlencode($_SERVER['HTTP_REFERER']);     $referrer =  str_replace("http://","", $referrer);    $referrer =  str_replace("https://","", $referrer);    if(!$_GET['apflag']) header("Location: http://www.ourkangen.net/affiliateprophetscript/go.php?uid=1&cid=1&apflag=1&referrer=$referrer&".$_SERVER["QUERY_STRING"]);    if(!$_COOKIE['apid']) setcookie("apid", $_GET['apid'], time()+300000000);?> I have no idea how ... [read more]