Display Link Based Upon a Cookie
-
I would love to make or find a plugin that when someone came to the site, like say they came through a clickbank hop link, it would have something like this:
https://www.domain.com/?hop=NAMEHERE
so set a cookie with name: hop value NAMEHERE
then have it where I can set a link based upon that cookie existing:
if $cookie[‘hop’] == true, link = clickbank checkout link
else
link = paypal checkout codeThat way, if someone finds my site any other way than a clickbank affiliate, it would checkout with Paypal saving me some money since Clickbanks rates are much, much higher… then if it is a clickbank affiliate referral, it would go ahead and use my clickbank checkout url, so that way the affiliate gets their commission…
Anyone know of a Plugin that does that simple task?
Thank you.
Richard
- The topic ‘Display Link Based Upon a Cookie’ is closed to new replies.