Can I link my ClickBank account with ClickMagick?
Yes! If you promote ClickBank products you’ll be glad to know that ClickMagick works with ClickBank’s “Instant Notification Service” so your ClickBank sales can be logged to your ClickMagick account automagickly!
You can also use ClickBank’s “Integrated Sales Reporting” by adding tracking pixels to your ClickBank account, but this isn’t as accurate as the integration described below, so we suggest that you use the “Instant Notification Service” method as a first choice unless you’re using ClickMagick’s “Entry Link” setting.
Caution: If you’re using the advanced “Entry Link” setting, you
must use ClickBank’s “Integrated Sales Reporting” method because the “Instant Notification Service” is incompatible with the Entry Link setting. You can read more about ClickBank’s Integrated Sales Reporting here:
If you’re familiar with the concept of “Postback URLs”, ClickBank’s version of this concept uses an “Instant Notification URL” with a “Secret Key” for added security. Taken together, ClickBank calls this their “Instant Notification Service.”
So let’s get this set up!
You can watch the video walkthrough here, or follow the written walkthrough below.
Create a ClickBank “Secret Key”
The first thing you’ll need to do set up the Instant Notification Service is to create a “Secret Key” in ClickBank that it uses to communicate with other tools like ClickMagick. This is fairly straightforward if you follow these steps:
1. |
|
Log in to your ClickBank account. |
2. |
|
Click the Settings tab near the upper-right corner of the page. |
3. |
|
Click “My Site” in the sub navigation menu bar. |
4. |
|
Scroll down to the “Advanced Tools” section … |
5. |
|
Click the “Edit” link in the upper-right corner. |

6. |
|
If the Secret Key is empty, you’ll need to create one. Simply enter any combination of UPPER CASE LETTERS and/or numbers, up to 16 characters. You will get an error if you use any lowercase letters, spaces, or symbols. |
7. |
|
If the “Instant Notification URL” section shows a red link that says “(request access)” (as shown in the screenshot above), click on that link to show a form. Select “Yes” for all the questions and click on the checkbox that says you agree to the Terms of Service. |
8. |
|
Click on “Save Changes” to instantly enable the “Instant Notification Service” in your ClickBank account. |
9. |
|
Finally, scroll back down to the same section and copy your Secret Key. We’ll be pasting that into ClickMagick in the next section. |
Copy the Secret Key to your ClickMagick User Profile
Now that you have your Secret Key set up in ClickBank, you need to let ClickMagick know about it …
Just head over to your ClickMagick Profile in the Account menu and enter your “Secret Key” in the ClickBank settings of the “Misc” category. If you’re following the steps outlined here, your Secret Key should be on the clipboard so just paste it into your settings and save your changes by clicking on the “Update My Profile” button.
If you don’t click on the “Update My Profile” button to save the changes, the Instant Notification Service will not work.
Add your ClickMagick Instant Notification URL to ClickBank
1. |
|
You’ll need to copy your unique ClickMagick Instant Notification URL and paste it into your ClickBank settings. First, copy this link exactly as you see it:
https://www.clkmg.com/api/s/cb/?uid=$userid |
Note: The unique URL above is used only to link your ClickBank account with ClickMagick. It is not meant to be accessed directly in your browser, and if you do so you’ll see an error message which is totally normal.
2. |
|
Go back to ClickBank to the Advanced Tools section where you created your Secret Key. You’ll find it in the Settings tab, under the “My Site” sub menu. Scroll down to “Advanced Tools”. |
3. |
|
Click the “Edit” link in the upper-right corner. |
4. |
|
In the first empty slot that says “Instant Notification URL:”, paste in the ClickMagick Instant Notification URL that you copied above. |
5. |
|
Make sure version 6.0 is selected in the drop-down. |
6. |
|
You MUST save your changes here before testing your setup in the next few steps, otherwise ClickBank’s system will say your URL doesn’t work. |
7. |
|
Now that you’ve saved your changes, scroll back down to the Advanced Tools section and click “Edit” in the upper-right corner one last time … |
8. |
|
Click the “TEST IPN” link next to your URL to activate it in ClickBank’s system. |
Once you’ve tested your URL without error you’re done with the integration of your ClickMagick and ClickBank accounts.
To Use the Instant Notification Service, add the Click ID to Your Hoplinks…
Now that you’ve integrated your ClickMagick account with Clickbank, you can use ClickMagick’s [clickid] token to pass a unique click ID to your ClickBank hoplinks through a “query” string so ClickBank can track and report your sales back to ClickMagick.
This can get a bit technical, and you can read all about how to do it below, but first, we’ve put together a series of videos that you can watch if you’re a more visual learner.
Just keep in mind that the videos use the term “Postback URL” which is the same thing as the Instant Notification URL that you set up above. When you hear about “Postback URLs” in the videos, just remember that you’ve already set that up for ClickBank and you can ignore the set up instructions in the video.
For these videos to make sense, you must watch them in order:
This written overview makes heavy use of “query” strings. If you’re unsure what a query string is and how to modify them, you should read through this FAQ:
For the Instant Notification Service to work, you need to pass a special piece of data to ClickBank that uniquely identifies which click resulted in the sale.
To do this, ClickMagick has a special [clickid] token that you must add to the end of your ClickBank hoplinks when you set up your tracking links.
For example, here’s a standard ClickBank hoplink:
http://xxx.yyy.hop.clickbank.net
ClickBank expects to find the [clickid]
value in the tid
or vtid
query string parameter—depending on whether you’re an affiliate or the vendor—so when setting up your tracking link in ClickMagick you would add either a tid
or vtid
query string parameter to your Primary URL. For example…
If you’re an affiliate promoting a “hoplink”, your link would look like this:
http://XXX.YYY.hop.clickbank.net/?tid=[clickid]
If you’re a vendor promoting your own payment page, your link would look like this:
http://ITEM.VENDOR.pay.clickbank.net/?vtid=[clickid]
It works the same with Clickbank’s encrypted hoplinks if you use those. As an affiliate just add ?tid=[clickid]
to the end:
http://b6b043y5x1nunwl1l.hop.clickbank.net/?tid=[clickid]
And as a vendor just use vtid
instead of tid
:
http://b6b043y5x1nunwl1l.pay.clickbank.net/?vtid=[clickid]
When you do this, each time someone clicks on your ClickMagick tracking link the system will automatically replace the [clickid]
token in your link with actual click ID of the click being processed.
This will allow the ClickBank system to report sales back to the proper link in your ClickMagick account whenever a sale is made.
Verifying Your Setup
To confirm that you’ve set things up correctly, just look for TID values in your ClickBank stats after you’ve sent traffic to your hoplink.
If you’re correctly passing the Click ID through your ClickBank link using the [clickid]
token, you’ll see unique Click ID values that are at least 9 digits long in the TID column of your ClickBank stats.
Note that you won’t see your actual keywords or anything like that in your ClickBank account—you’ll only see a unique Click ID. You can easily find all of your other stats in ClickMagick.
Note: If the ClickBank URL you want to promote already has a query string—meaning it already has a question mark (
?)
in it—you need to add
&tid=[clickid]
or
&vtid=[clickid]
to the end. Simply replace the question mark (
?
) in the examples above with an ampersand (
&
) character. Review the
FAQ on query strings for a complete explanation of this.
Note: We support all ClickBank transaction types including standard sales, rebills, JV sales, JV rebills, refunds, and chargebacks. When ClickMagick gets a refund or chargeback, the previously attributed conversion will simply be removed from your ClickMagick account as if it never happened.