Passing Affiliate's Google Tracking Code To Thank You Page

Discussion in 'PHP' started by Zibblu, Jul 21, 2008.

  1. #1
    I run a Clickbank affiliate program ($31 in sig) and I'm trying to figure out how to let affiliates add their Google AdWords tracking code to my thank you page automatically.

    For example they'd put in affiliateID.dayoff.hop.clickbank.net/?g=trackingcode

    And then I'd get that variable and somehow store it so that if they do end up at the thank you page (after purchasing the product) - I can place their tracking code into the page.

    I've just figured out how to do a redirect to another page using php

    affiliateID.dayoff.hop.clickbank.net/?x=over (there's nothing much at that page now... but if you know clickbank maybe you can understand what I'm going to be doing there... creating a "pre sell" langing page pre-made so affiliates don't have to necessarily make their own.)

    But how to do this Google tracking deal is a bit out of my understanding... I'd really like to do it though as I think it's an excellent feature to offer affiliates.

    I'd be willing to pay $10 via Paypal to anyone who can tell me how to do this (so that I can actually do it.)
     
    Zibblu, Jul 21, 2008 IP