php how to know that a click came from google

lad11plamos

New Member
My adsense ad have a dedicated land page.I want to show the content only to those who came through that ad.The page is coded with PHP so I'm using \[code\]$_SERVER['HTTP_REFERER']\[/code\].Two questions here:[*]Is there a better alternative to \[code\]$_SERVER['HTTP_REFERER']\[/code\] ?[*]To what strings/domains should I compare the referrer's domain (I'll handle extracting it)? I mean, I'm guessing that google has more than one domain they're using for the ads, or not? There's doubleclick.com.... any other domain? How can I check it, besides try/fail?
 
Back
Top