I have an affiliate site and need to better track my ad campaign on PPC. I'm sending traffic to a php page which passes the keyword as a seed variable. Then I've been putting making the sid for all of my links retreive the keyword from the url. I lose a lot of information though because if they click to a second page to get a better review, I lose the seed variable and the sid in the affiliate links is blank. How can I fix this?
Just do this on the first page: session_start(); $_SESSION['seed'] = $_GET['keyword']; //or whatever PHP: Second page: session_start(); echo $_SESSION['seed']; //if you need to output it again PHP: