Forum Moderators: martinibuster
I am trying to make a php code so if some does click on my google adsense ad when they go to the next page on my site, it will display a smily face in the upper left corner or a thank you. I am not sure whether it is allowed by adsense TOS but I want to try it.
I have seen this done a page before when I clicked an ad, I went back to their page and the next page I went to on there site displayed a thank you in the top corner?
I have tried figuring out how to do this but the problem is I don't know how to check if they have the google adsense cookie? Maybe someone could help me out. I tried using a session checker and cookie checker but I didn't know the name of the adsense cookie?
Am I approaching this solution with a wrong method? Do you have to check for a certain part of a cookie or something? If so could someone help me out?
Here is what I was trying to do:
<?
if (!empty($_COOKIE['Conversion'])) {
echo "Thank You!";
}
?>
If someone could correct that I would be happy, thanks!