Skip to content

ClickBank New Integration

Set up the ClickBank integration with AnyTrack to track affiliate conversions, order page impressions, and rebills. Learn how the new extclid tracking parameter works, configure the Postback URL, and send conversion data to your ad platform Conversion APIs in real time.

As of June 4, 2024, ClickBank released new affiliate tracking parameters to supplement the existing tracking ID (TID) functionality for affiliate tracking links. These updates give affiliates better tracking, reporting, and automatic integrations with AnyTrack.

With AnyTrack, you can send accurate conversion data from your ClickBank account to your ad platform Conversion APIs (Google Ads, Facebook Ads, TikTok Ads, and more) in real time. This allows you to optimize your ad campaigns with rich conversion data and track complete customer journeys. 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 the ClickBank AnyTrack Integration Works

Section titled “How the ClickBank AnyTrack Integration Works”
AnyTrack documentation screenshot
  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 Tracking Tags and analytics.
  3. Customer Checkout: When the visitor lands on the Order Page, AnyTrack tracks the Order Page Impression and triggers an InitiateCheckout event. See the conversion payload example below.
  4. Conversions: When your visitor completes the checkout, AnyTrack receives the conversion data through the ClickBank Postback URL.
  5. Attribution: AnyTrack processes the conversion data and reports it across the AnyTrack Dashboard.
  6. Conversion API: AnyTrack then sends your conversions to your ad platform Conversion APIs so you can feed your ad platform machine learning and automatic optimization with 100% of your conversion data.
AnyTrack documentation screenshot
ReferenceValueInformation
Tracking GroupclickbankThe Tracking Group reference can be used to manually activate AutoTag.
Subid ParameterextclidThe Subid Parameter used to pass the AnyTrack click_id. ClickBank sends it to affiliates and to vendors. AutoTag also adds tid to hop links. Payment links get vtid.
Tracking MethodPostback URLThe conversion is sent from the ClickBank servers to AnyTrack.
Hop Link✅https://key.hop.ClickBank.net?extclid=--CLICK-ID--
Direct Offer Link✅https://offerurl.foo/?shield=key&extclid=--CLICK-ID--

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

ClickBank sends each transaction with a transactionType. The initial sale of a standard or a recurring product arrives as SALE. An upsell arrives as a SALE notification with an upsell object, and AnyTrack lists it as UPSELL. A rebill arrives as BILL. When a visitor loads a ClickBank order form, AnyTrack records an Order Form View.

By default, AnyTrack maps SALE to Purchase, and maps UPSELL and BILL to Upsell. You can remap any event to a different standard event or a custom conversion name in the Event Mapping.

ClickBank eventAnyTrack event (default)Meta conversion (example)DetailsSource
Hop link clickOutboundClickViewContentA visitor clicks a ClickBank hop link.AnyTrack Tracking Tag
Order Form ViewInitiateCheckoutInitiateCheckoutA visitor loads a ClickBank order form.Postback URL (ClickBank Tracking Pixel)
SALEPurchasePurchaseThe initial sale of a standard or a recurring product.Postback URL
UPSELLUpsellUpsell (custom conversion)The buyer accepts an upsell after the initial sale. ClickBank sends it as a SALE with an upsell object.Postback URL
BILLUpsellUpsell (custom conversion)A rebill: a recurring payment for a subscription product.Postback URL
RFND, CGBK, TEST, CANCEL-REBILLNot recorded-AnyTrack ignores refund, chargeback, test, and cancellation notifications.Postback URL

Upon adding ClickBank to your AnyTrack account, you will get your ClickBank postback URL. This postback URL will allow you to get your conversion data from the ClickBank servers to the AnyTrack server.

https://t1.anytrack.io/xxxxx/collect/ClickBank

Step #1: Add ClickBank to your AnyTrack Account

Section titled “Step #1: Add ClickBank to your AnyTrack Account”
  1. Open the Integration Catalog and search for ClickBank.

  1. Click the ClickBank card, then click Install Integration.

  1. In Name, enter a name that identifies the integration.
  2. Click Create.

The ClickBank integration opens on the Integration tab. The tab shows your ClickBank Postback URL.

  1. In Integration Type, select Affiliate or Vendor. AnyTrack then accepts only the purchases for that role. If you leave the field empty, AnyTrack accepts the purchases for both roles.
  2. In Username, enter your ClickBank account nickname. Do not enter your email address. AnyTrack uses the nickname to build the Follow this link links in the setup instructions.
  3. Copy the Postback URL.
  4. Click Connect.

The integration page then shows the setup instructions: Step 1: Sales and Upsell Tracking and Step 2: Order form tracking. Steps #3 and #4 below follow those instructions.

ClickBank’s Instant Payment Notification (IPN) sends each sale, upsell, and rebill to your Postback URL. The data depends on your role in the transaction:

  • Vendor: ClickBank sends the customer data (name, email, phone number, and address).
  • Affiliate: ClickBank sends only the billing state, postal code, and country of the customer.
  1. Copy the Postback URL.

  2. In Step 1: Sales and Upsell Tracking on the integration page, click Follow this link. ClickBank opens your Instant Notification settings (Vendor Settings > My Site > Advanced Tools > Edit).

  3. In Secret Key, enter ANYTRACK in capital letters. AnyTrack uses this key to decrypt the ClickBank notifications.

  4. Paste the Postback URL in the Instant Notification URL field. If the field does not show, click the request access link. Answer Yes to all questions. Then click Save Changes & Request API Access.

  5. Select version 8.0. Version 8.0 sends the new affiliate tracking parameters.

  6. Click Test IPN. ClickBank marks the URL as Verified when the test succeeds.

  7. Click Save Changes.

ClickBank’s Integrated Sales Reporting tells AnyTrack when a visitor loads a ClickBank order form.

  1. In Step 2: Order form tracking on the integration page, click Follow this link. ClickBank opens your Integrated Sales Reporting settings (Vendor Settings > My Site > Integrated Sales Reporting > Add Tracking Code).

  2. In Type, select Tracking Pixel. Tracking Pixel is the ClickBank name for this type of tracking code.

  3. Click Add.

  4. Paste the Postback URL in the Tracking Pixel URL field.

  5. In Track As, select your role:

    • If you promote the product, select Affiliate.
    • If you sell the product (vendor), select Seller.
  6. In Where to Fire, select Order Form only. Do not select Confirmation Page: the Instant Payment Notification from Step #3 sends the sales.

  7. Click Save.

  8. Open the Integrated Sales Reporting section of the My Site page again.

  9. Activate the new tracking code. Verify that its Status shows Active.

Step #5: Adjust the Conversion Event Mapping

Section titled “Step #5: Adjust the Conversion Event Mapping”

The ClickBank Integration Events section on the Integration tab lists the four ClickBank events. Each ClickBank event shows its AnyTrack event.

  1. To stop tracking an event, clear its checkbox.
  2. To change the AnyTrack event, click the field next to the ClickBank event, and select a different event.
  3. To group Purchase and Upsell events into one order, open ClickBank Combined Orders. Turn on Generate Combined Order out of Purchase and Upsell events. See Combined Orders.
  4. Click Save.

Then map the AnyTrack events to the conversion events of each ad platform in Tracking Pixels. See Event Mapping.


Since tracking starts when visitors click on offer links, verify that your links are tracked and AutoTagged.

  1. Load the website where you added the AnyTrack Tracking Tag.
  2. Hover on the ClickBank offer URL.
  3. Inspect the URL and look for the parameter appended to the URL: extclid=kQECYO2xNgY4nMd88wypHAd0DHts1mhpy9
  • Default: By default, AnyTrack automatically identifies and AutoTags ClickBank links found on your website. Like this sample ClickBank 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 extclid: &extclid=--CLICK-ID-- to the offer link.

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

Here is an example of how you would manually update links for ClickBank:

<a href="https://example.foo/goto/clickbank" data-tracking-group="clickbank">Hover on the ClickBank Demo Link to see the AnyTrack click_id</a>

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

AnyTrack documentation screenshot
{
"verificationHash": "135CBA87",
"country": "US",
"tracking_type": "direct",
"click_timestamp": "2024-05-19T12:37:28.444230Z",
"role": "AFFILIATE",
"affiliateCommission": "0.00",
"device_model": "Apple Macintosh",
"os": "Mac OS",
"city": "New York",
"os_version": ">=10.15.7",
"useragent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
"extclid": "kQECYO2xNgY4nMd88wypHAd0DHts1mhpy9",
"device_type": "Desktop",
"itemNo": "1",
"productTitle": "Product Name Online Blueprint",
"click_id": "6ec6b660-ff6e-47a9-979b-77d51e93d9c8",
"device_brand": "Apple",
"vendor": "vendorName",
"browser": "Chrome",
"browser_lang": "en",
"browser_version": "126",
"state": "New York",
"affiliate": "anytrackio",
"trackingCodes": "k0q0e0c0y0o2x0ng0y4n0md88wyp0h0ad000d0hts1mhpy9"
}
{
"affiliateTrackingParameters": {
"extclid": "0dMIgXmvDOgivGxx31F2fNVJatcphsFHj" //AnyTrack Click ID parameter
},
"role": "AFFILIATE",
"totalAccountAmount": 121.3,
"commonTrackingParameters": {
"deviceType": "Phone",
"country": "US",
"trackingType": "hop",
"os": "Android",
"useragent": "Mozilla/5.0 (Linux; Android 13; SAMSUNG SM-S134DL) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/22.0 Chrome/111.0.5563.116 Mobile Safari/537.36",
"clickTimestamp": "2024-09-30T13:25:16.059080697Z",
"clickId": "ee8386b9-xx-434d-b24b-a619a43ee532",
"osVersion": "13",
"browser": "SamsungBrowser",
"browserVersion": "22.0",
"deviceModel": "Samsung SM-S134DL",
"state": "Louisiana",
"deviceBrand": "Samsung",
"browserLang": "en"
},
"upsell": {},
"attemptCount": 1,
"transactionTime": "20240930T092316-0700",
"version": 8,
"transactionType": "SALE",
"lineItems": [
{
"productTitle": "Three Bottles of Neuro-Thrive",
"shippable": true,
"quantity": 1,
"recurring": false,
"lineItemType": "STANDARD",
"shippingLiable": false,
"productDiscount": 0,
"shippingAmount": 0,
"itemNo": "neurothr-3b-v",
"taxAmount": 13.28,
"accountAmount": 121.3,
"productPrice": 177
}
],
"totalOrderAmount": 190.28,
"vendor": "neurothriv",
"paymentMethod": "VISA",
"receipt": "xxxxx",
"affiliate": "xxxxxx",
"trackingCodes": [
"00d0m0ig0xmv0d0ogiv0g0fkw310f2f0n0v0jatcphs0f0hj" //Previous version Click ID parameter
],
"customer": {
"billing": {
"address": {
"country": "US",
"state": "FL",
"postalCode": "32526"
}
}
}
}

FAQ and Troubleshooting

FAQ was last reviewed on 2026-09-28

How do I get access to the new ClickBank tracking parameters?
You need to ask your ClickBank affiliate manager to enable the new tracking parameters on your account.
How do I verify that my account uses the new tracking method?
The payload of the order page impression should include the extclid parameter along with device, location, and click timestamp data. Check your conversion logs in the AnyTrack Dashboard for the extclid field.
Can I track direct linking campaigns?
Yes. If you want to send ad traffic from Google or Facebook directly to ClickBank offer links, refer to the Direct Linking guide.
Can I use a different subid parameter than the one predefined in AnyTrack?
No. The extclid parameter is set by ClickBank and modifying it would prevent tracking conversions.
Can I track conversions without the click_id?
No. The click_id passed to the ClickBank links is required to attribute conversions back to the original traffic source.
The Conversion Event Name is not what I expected. How can I change it?
You can update the Event Mapping in the Integration page to change how ClickBank events map to your ad platform conversion events.