Now for all of you who think Cookie Stuffing is a simple drop your cookies here & there, get traffic, obtain clicks, receive commission is quite mistaken. Sure it’s easy as hell to stuff cookies & get commissions but how long can you do it for? Longevity is key here and taking simple measures to prevent getting banned is essential and key to long-term Blackhat Marketing success.
Below is a sample code in PHP that will only stuff cookies to users refered from Google:
if(substr((trim($_SERVER['HTTP_REFERER'])),0,23=="http://www.google.com/")
{
echo "<img src=\"http://www.affiliatelink.com\" height=\"1\" width=\"1\" alt=\"\">";
}
Obviously the interchangeable part is the "echo" portion of the code. You don’t have to use the Image Stuffing method as it is only used here as an example. Also this is a barebones & basic code just for referer’s from Google. If you wish to add referers, use the elseif(substr((trim….so forth and change the 0,23 & the URL to match to how many character’s in length it is.
With a little PHP programming knowledge, you should be able to write an effective database driven model. If you don’t, you could probably outsource it at RentACoder, ScriptLance, or you could e-mail me for a quote.
The freely available model I’ve posted above is very basic and is definitely not enough to keep you in the safe boundaries you should be in. This also doesn’t prevent affiliate manager’s from getting stuffed — he or she may simply search for your website through Google, click through, and get stuffed. If you also need help with that, feel free to e-mail me for help.
Charles