ClickMagick: How to Track ClickBank Sales Using Postback URL

ClickMagick: How to Track ClickBank Sales Using Postback URL

If you are interested in a click tracking course specific to ClickMagick, check out my updated course on my website:

If you want to try out ClickMagick or learn more, feel free to check out their free 14-day trial with my link:

And if you need help with a specific issue and want me to personally take a look at your setup, I can help! Check out the ‘My Services’ section of my blog:


Why use postback URL?: 0:08

How to setup the postback URL for ClickBank: 1:09

What’s up?!

In this video, I show you how to setup a postback URL with ClickBank using ClickMagick.

This is basically a way for you to track sales, similar to using the pixel method we went over in a previous video (, but more reliable, since ClickBank will literally feed the information over to ClickMagick regarding the transaction, including the amount of the sale, and taking into account all refunds, etc…

The process is similar to what we have done in the previous 2 videos with Peerfly and MaxBounty, but a bit more complicated as it involves using a ‘secret key’.

So the first step then is to head over to your ClickBank account, go to settings, my site, and scroll all the way to the bottom where it says ‘advanced tools’, and click on ‘edit’. It will immediately prompt you to enter a ‘secret key’ and agree to all the terms. Go ahead and say ‘yes’ to all the terms, as long as you assume the responsibility of understanding all of them. Then input any ‘secret key’ you want, which should contain 16 uppercase letters and/or numbers. For the purpose of this example, I set up mine to be 1234ABCD1234ABCD.

After you do that, go back to your ClickMagick account, go to ‘profile’ on the top right corner, and input this very same secret key in the ‘secret key’ spot in the ‘misc’ section. That should be it for the secret key.

Now you need to enter the instant notification URL, which can be found on your ClickMagick page when you type in ‘clickbank’ in the FAQ, and click on the first link you see. Scroll down a bit and you should see a ClickMagick URL unique to every individual, with an ID at the end. Copy and paste this URL into the ‘instant notification URL’ slot inside of ClickBank and click on ‘save’. Go back down to this page, click on ‘edit’ again, and then click on ‘verify IPIN’. It should be verified and you should be good to go for this part!

The last thing you need to do is just type in ?tid=[clickid] at the end of your affiliate link for ClickBank and that should be it! Notice how in the video we put in & instead of ?, as that is what ClickMagick provides us, but you should put in ? if there are NO query strings on your current affiliate link already.

After this that should be it! Now any sale you make should show up on your tracking link stats and you should know how many sales you made and for how much without needing to use pixels!

That’s it!

Like my Facebook page!:

If you want to sign up as an affiliate for ClickBank, simply go to and register there.

If you want to sign up for PeerFly as an affiliate, feel free to sign up here under my affiliate link: />I will be happy to help out if you have any questions on how to get in.

If you want to sign up for MaxBounty, you can do so via my affiliate link as well: />I will be happy to help you out if you have any questions on how to get in.

Here is my Namecheap affiliate link as well if you want to buy one of their really cheap domains and/or private email: />
If you are interested in ClickFunnels, or want to learn more, feel free to check out their free 14-day trial under my affiliate link at:

If you like GetResponse and want to learn more, try out their 30-day free trial under my affiliate link at:

Thanks for watching, and I’ll see you in the next video!

10 thoughts on “ClickMagick: How to Track ClickBank Sales Using Postback URL”

  1. Am I overcomplicating things….. I know this has to be the simplest question ever….. But to go from banner networks with cmagick link to non cb capture page to cb offer. Can I use tracking pixel in cb??? And if not would postback be ideal for this? Confusing me because wouldn't the data get lost at the capture page? Seems like I would need a unique capture page url for every banner if there's no pixel but thats crazy….lol this has got to be tracking 101

  2. Hi Ivan, thanks for the great content on ClickMagick! I do have one question though and hope you can clarify it for me.

    If I want to send traffic from Facebook ads -> Landing Page -> TY Page -> Offer/Sales page,

    Do I need to set the parameter to track the clickID such as s2={clickid} (for Maxbounty, for example), on the FB Ad parameter settings and on the Offer Link similar as you did here with the Clickbank hoplink, OR is it enough If I put that parameter ONLY on the actual affiliate link that directs to the offer page like you did in the video=

    I've seen some people only placing this "clickId" parameter on the OFFER link and others also track it within the tracking link that is located on the traffic source. Mind giving me your opinion on this? I also read a blog post from BeMob (similar to Clickmagick) and they say that we should put this parameter on the OFFER link, not on the Tracking link we use on the Traffic source… but I figured I'd just ask! Thank you!

  3. Thank you! I would like to find out how a certain fellow Clickbank affiliate drives traffic to his landing page. is there any way or tool to find the original traffic source that he used for his campaign? Google Analytics only shows me his landing page.

  4. Hii I was following this video but I got stuck on 1 place
    at 6:00 min
    you said something about a tag &tid=[clickid] and.I tried to follow it but got stuck due to error
    Error: You have a '&' before the '?' character in your URL. This probably means you haven’t created your query string correctly. For more information, read:
    What is a query string?
    With ClickBank, the token [clickid] must be used in the query string of your Primary URL. For more information, read:
    What is a query string?

    can you please help me to sort this out


  5. Hi Ivan thanks and excellent. I watch the updated version too. I'm still confused a little bit. If i use it like you said, what will happen to the facebook pixel? How my Facebook will be able to learn because all clickbank sales will be forwarded to clickmagick. Am i missing something?

Leave a Comment

Your email address will not be published.