Clickbank Cookie Detection for Paypal button

Discussion in 'Black Hat SEO' started by nougattrout, Nov 2, 2011.

  1. nougattrout

    nougattrout Junior Member

    Joined:
    Jan 6, 2010
    Messages:
    131
    Likes Received:
    14
    Is there a way to detect the clickbank affiliate cookie, and if it is not there then use a direct Paypal link instead?

    ie. Joe comes to the page through an affiliate - Clickbank buy link is shown

    Sally comes to the page direct - Paypal buy link is shown?

    Since you can only access cookies from your domain in php I imagine this is not very simple. Can you do something in javascript instead? Or potentially just look for the 'hop' parameter in the query string?

    Do you have any ideas?