ClickBank

Adding ClickBank's Integration
C
Written by ClickFlare
Updated 4 months ago

Thanks to ClickFlare's API integration with ClickBank, you'll be able to have conversions and revenue accurately pulled into ClickFlare. You just need to connect your ClickBank account, ClickFlare will take care of the rest.

In this article, we'll go over the step-by-step process of setting up the API Integration with ClickBank.

What you'll need for the integration:

  • An active ClickBank Account
  • An active ClickFlare Account
  • Your ClickBank Api Key


Where can I find my ClickBank Clerk API Key and Dev API Key?

Start by:

  • Logging in into your ClickBank Account.
  • Go to the Settings (left menu bar), and click on API Management.
  • Click Create New API Key.
  • Provide a name for your key, and make sure to check Analytics API and Orders/Tickets API Read.
  • Copy the key and be ready to use it during the integration in ClickFlare.



Adding the ClickBank integration to ClickFlare.

Begin the process by:

  1. Entering the Settings' Menu (gear icon in the upper right corner) inside ClickFlare.
  2. Go to the Integrations tab. 
  3. In the Affiliate Network Integrations' section, click on Add Integration.


  4. Give your integration a name, and select ClickBank from the Integration Type dropdown menu. 
  5. Paste the Api Key, you copied earlier.
  6. Once done, click on Save.
  7. Your new Integration will now be listed on the Integrations Menu.


  8. Go to custom conversions from the right-side menu, and create a new custom conversion called Sale (see image).

  9. Finally, turn on Include in Conversions and Revenue, and click Save

✅ Done. Your integration is ready to use.

Important Note: For the integration to work, you need to pass the ClickFlare click ID to ClickBank. Like for every other Affiliate Network, the click ID is passed through the Offer URL. But differently from other AN, you need to use the "{clickbank_click_id}" macro for the click ID, instead of the usual {cf_click_id}. For more info on this, click here.

Set up Custom Conversions in ClickFlare for other Event Types

Setting up custom conversions will allow you to have all available event types pulled from ClickBank into ClickFlare.

Clickbank sends the following conversion types:

SALE
RFND
CGBK
FEE
BILL
*UPSELL

* The UPSELL conversion type is distinguished by ClickFlare.

  • What do I need to do in order to have this conversions in ClickFlare?

You must configure a distinct custom conversion for every type you want to track. To achieve this, follow these steps:

  1. In ClickFlare, click the settings button in the top right corner.
  2. Go to the Custom Conversion tab.
  3. Add a custom conversion for each type. You don't have to set up all custom conversions listed above, just the ones you want to see in ClickFlare reports.

    The end result should look like this:


    * Each of the added custom conversions will show up as a separate column in ClickFlare stats. You can decide separately for each of the custom conversions, if you want to add the in the main Conversions and Revenue columns.

    Click here for more information on Custom Conversions.
Note: All event types you set up in custom conversions will be automatically pulled through the API Integration. You don't need to set up any postbacks or do any additional step on ClickBank. Once you set up the custom conversions and ClickBank integration, ClickFlare will take care of the rest.
⚠️ Important Note: Even if you don't need all the event types, you still need to create at least the main Sale custom conversion. Failing to do so will result in missed conversions and revenue.

Did this answer your question?