Get started with ClickBank and today! Easily integrate ClickBank with our powerful conversion tracking and attribution platform to streamline conversion data and boost ROAS.

ClickBank Integration Overview

AnyTrack and ClickBank are the perfect integration for data driven affiliate marketers. With AnyTrack, you can now send accurate conversion data from your ClickBank account to your ad platforms Conversion API like Google Ads, Facebook Ads, TikTok Ads and more in real-time. This allows you to optimize your ad campaigns with rich conversion data and the complete customer journeys. What's even better is that AnyTrack also enables affiliate marketers to build custom audiences across all ad platforms, with granular customer journey insights, including product level data and abandoned carts.

How does the ClickBank AnyTrack integration work:

how to promote clickbank offers using multi channel marketing stragegy.
  1. Traffic: When visitors land on your website, AnyTrack collects traffic source data and First Party data.
  2. Engagements: When visitors click on your ClickBank affiliate links, AnyTrack does a few things:
    1. Collects granular data tied to the OutboundClick.
    2. Triggers Event Tracking API requests to your pixels and analytics.
  3. Conversions: When visitors convert on the merchant's website, AnyTrack receives real time conversion data through the Clickbank Postback URL.
  4. Attribution: AnyTrack processes the conversion data and reports it across various reporting sections of the Anytrack Dashboard.
  5. Conversion API: AnyTrack then sends your conversions to your Ad Platforms' Conversion API so you can feed your ad platform's Machine Learning, AI and automatic optimization according to 100% of your conversion data.

Technical details

Tracking GroupclickbankThe Tracking Group reference can be used to activate AutoTag.
Subid ParametertidThe Subid Parameter used to pass the AnyTrack click_id.
Tracking MethodPostback URL-

Standard Conversion Event Mapping

Anytrack enables you to track all Event Types from Clickbank and map these events to either standard events or custom events.

For example, if you promote products that have recurring sales, you can map the initial sales to the standard Purchase event, and map the REBILL conversions to a custom Conversion name.


Good to know:

When you update the ClickBank conversion mapping, you should map the custom Events to your Ad Platforms Conversion Events. Learn more about Event Mapping.

ClickBank EventAnyTrack EventDetailsData Source
Hop Link ClickOutboundClickWhen a visitor clicks on ClickBank hop link.AnyTrack JS Tag
Order Form ImpressionInitiateCheckoutWhen a user loads the ClickBank order page.Postback URL
SALEPurchaseWhen a user generates a sale for a standard product.Postback URL
REBILLPurchaseWhen a user generates a sale for a product with recurring sales.Postback URL

The ClickBank Postback URL

The Postback URL is pre-defined and ready to be implemented with your ClickBank account.


Before you begin

The ClickBank integration requires that the AnyTrack Tracking Tag in the head section of your website or landing pages. Learn now to Install the AnyTrack Tag on your website.

Setup Guide

Step #1: Add ClickBank to your AnyTrack Account

  1. Go to the Integration Catalog, search for ClickBank.
Integration Catalog
  1. Now click on the ClickBank cardand then Click on Install.
ClickBank Integration Page

Step #2: Connect your ClickBank account

Step #3: Sales and Rebill Tracking

  1. Copy the Postback URL from your AnyTrack account.
  2. Access your Instant Notification settings (Vendor Settings >> My Site >> Advanced Tools >> Edit).


    Vendor settings

    While you are setting up your postback in a vendor setting page, do not worry as this is the same page Vendors and Affiliates set their Postback URL.

    The parameters sent to affiliates are different than the parameters sent to Vendors.

  3. Add the key: ANYTRACK.
  4. Paste (ctrl+v) the Postback URL in the Instant Notification URL Field.
  5. Select Version 7.0.
  6. Click on Test IPN.
  7. Save (The IPN tracks the Sales, Upsells, and Rebills).

Step #4: Order Form tracking

  1. Follow this link to access your Integrated Sales Reporting settings (Vendor Settings >> My Site >> Integrated Sales Reporting >> Add Tracking Code).
  2. Select "Tracking Pixel" and click "Add".
  3. Paste (ctrl+v) the postback URL in the Tracking Pixel URL Field.
  4. Select Track As: "Affiliate".
  5. ⚠️ Select ONLY "Order Form".
  6. Save (The Tracking tag tracks the Order Form Impressions).

Step #5: Adjust the Conversion Event Mapping

The Event Mapping allows you to define which events to track and map them to Conversion Events you will forward to your Ads Integrations (ex: Facebook Conversion API)

ClickBank Conversion Event Mapping

Validate your integration

This section will enable you to validate the main aspects of your setup.

Link tracking

Since Tracking starts when visitors clicks on offer links, you should verify that your links are tracked and AutoTagged.

AutoTag Methods


Reminder about AutoTag:

AutoTag is a function that is enabled by default through the AnyTrack Tracking Tag, and that appends tid & click_id data to affiliate links. Learn more about AutoTag.

  • Default: By default, AnyTrack automatically identifies and AutoTags ClickBank links found on your website. Like this link.
  • AutoScan: AnyTrack scans links that are embedded in redirects plugins and AutoTags them accordingly.
  • Manual:
    • Tracking Group Attribute: You add the tracking group attribute to links according to their tracking requirements. For example: data-tracking-group="clickbank" or rel="clickbank". More about Tracking Group.
    • Click ID Token: You Manually append the subid: &tid=--CLICK-ID-- to the offer link.

Once the links are set up, you can check in your ClickBank account reports and see whether the tid parameters are passed to the offer links.

Here is an example of how you would manually update links from clickbank:

<a href="" data-tracking-group="clickbank">Hover on theClickBank Demo   
Link to see the AnyTrack `click_id`</a>


Tracking Group

Tracking Group refers to the integration technology. For example, ClickBank Tracking Group tracking group is clickbank and ClickBank is clickbank. The Tracking Group

Conversion Tracking

To validate your setup, you should either wait for a conversion or trigger a test conversion yourself and inspect the conversion logs.

Integration Conversion log

ClickBank conversion payload example:


This is the tid parameter passed to the ClickBank hop link

"trackingCodes": "w23xvj0xjemr590b860q0j8m0v0a0x0u0cip5yc40fmg"

  "productTitle": "Copywriter Brain Full Course",
  "verificationHash": "4F478B5D",
  "role": "AFFILIATE",
  "affiliateCommission": "0.00",
  "vendor": "copybrain",
  "itemNo": "1",
  "affiliate": "wingatex",
  "trackingCodes": "w23xvj0xjemr590b860q0j8m0v0a0x0u0cip5yc40fmg"

ClickBank Integration FAQ & Troubleshooting

  • Can I import past conversions into Anytrack?

    No. Anytrack can only ingest conversions that have been triggered following a visitor session on your website. So if you have some "rebills" conversions that are attributed to traffic generated before anytrack was set on your website, these will not be tracked.
  • Can I track direct linking campaigns?

    Yes, if you want to send ad traffic from Google or Facebook directly to clickbank offer links you should refer to this article.
  • Can I use a different subid parameter than the one predefined by AnyTrack?

  • Can I track conversions without the click_id?

    No. The click_id passed to the ClickBank links is required to track conversions.
  • The Conversion Event Name is not what I am expecting, how can I change it?

    You can update the Event Mapping in the Integration page.
ClickBank Event Mapping

ClickBank troubleshooting guidelines


Before reaching out to the customer success team, please verify:

  1. You have the anytrack tag on each page of your website.
  2. The AnyTrack postback / webhook has been added to the tracking pixels for the Affiliate and is ACTIVE.
  3. The AnyTrack postback / webhook has been added to the Instant Notification Settings, has been verified, and the Key is set as: ANYTRACK
  • If you're on the free plan, verify that you didn't reach the monthly traffic limit and upgrade if needed.
  • Check that your links are not hidden behind some javascripts or double redirects and that the click_id is being passed to the tid parameter.
  • Check that the links are in a standard a element.
  • Try to manually set the tracking group attribute (check the integration guidelines).
  • Check whether your offers are not getting traffic from websites where the AnyTrack Tag isn't set.
  • If you just installed AnyTrack, errors might be from traffic that wasn't tracked by AnyTrack in the first place.
  • Check that you didn't modify the tracking pixel parameters in ClickBank
  • Check that the postback / pixels are active.
  • Conversion data doesn't trigger an error 🔴, but is not validated 🟢:

    • Check that the Postback URL you've set in the integration matches the pre-defined Postback URL we provide.
    • Copy the Event Reference from the Conversion Event Log and contact the support.
  • You're not getting any conversions:

  • Check that the Postback URL is set and active in your platform.
  • Check that you're passing the correct AutoTag tid parameter to the offer link.
  • Check that the Postback URL is correctly inserted in the custom integration.