I'm a newbie at this so any answers will need to be in baby speak.
What I want:
I want to track a surfer's ID number through my site. They click on a google ad that has an ID in it and come to my page. While on my page, instead of immediately clicking on the offer, they see an article they can read to find more information before they buy and click on the link. I want their ID number to follow them to the article and then back again so that when they do click on my offer I know which ad they arrived from in the first place.
this is where I am.
have this cookie code in the header of my page above <html>
<?php
setcookie($cookie['kid']);
?>
the id is on that page I arrive at.
then in the <body> section I have this:
<?php
if( isset($cookie['kid']) ) {
$sub_id = $cookie['kid'];
}
?>
but when I click on a link the ID doesn't go through. What am I doing wrong?
I do hope I can find someone who can help. I've been trying to find the answer for months. I'm going a little spare

mezz