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.
The New ClickBank Integration
Section titled “The New ClickBank Integration”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”
- Traffic: When visitors land on your website, AnyTrack collects traffic source data and First Party data.
- Engagements: When visitors click on your ClickBank affiliate links, AnyTrack does a few things:
- Collects granular data tied to the
OutboundClick. - Triggers Event Tracking API requests to your Tracking Tags and analytics.
- Collects granular data tied to the
- Customer Checkout: When the visitor lands on the Order Page, AnyTrack tracks the Order Page Impression and triggers an
InitiateCheckoutevent. See the conversion payload example below. - Conversions: When your visitor completes the checkout, AnyTrack receives the conversion data through the ClickBank Postback URL.
- Attribution: AnyTrack processes the conversion data and reports it across the AnyTrack Dashboard.
- 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.

Technical Details
Section titled “Technical Details”| Reference | Value | Information |
|---|---|---|
| Tracking Group | ClickBank | The Tracking Group reference can be used to manually activate AutoTag. |
| Subid Parameter | extclid | The Subid Parameter used to pass the AnyTrack click_id. |
| Tracking Method | Postback URL | The 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-- |
Standard Conversion Event Mapping
Section titled “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.
| ClickBank Events | AnyTrack Events | Meta Conversions Mapping (example) | Details | Source |
|---|---|---|---|---|
Link Click | OutboundClick | ViewContent | When a visitor clicks on a ClickBank hop link. | AnyTrack Tracking Tag |
Order Form | InitiateCheckout | InitiateCheckout | When a user loads the ClickBank order page. | Postback URL |
SALE | Purchase | Purchase | When a user generates a sale for a standard product. | Postback URL |
REBILL | Purchase | Purchase | When a user generates a sale for a product with recurring sales. | Postback URL |
The ClickBank Postback URL
Section titled “The ClickBank 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/ClickBankSetup Guide
Section titled “Setup Guide”Step #1: Add ClickBank to your AnyTrack Account
Section titled “Step #1: Add ClickBank to your AnyTrack Account”- Go to the Integration Catalog, search for ClickBank.

- Now click on the ClickBank card and then click on Install.

Step #2: Connect your ClickBank account
Section titled “Step #2: Connect your ClickBank account”Step #3: Sales and Rebill Tracking
Section titled “Step #3: Sales and Rebill Tracking”-
Copy the Postback URL from your AnyTrack account.
-
Access your Instant Notification settings (Vendor Settings >> My Site >> Advanced Tools >> Edit).
-
Add the key: AnyTrack.
-
Paste (ctrl+v) the Postback URL in the Instant Notification URL Field.
-
Select Version 8.0.
-
Click on Test IPN.
-
Save (The IPN tracks the Sales, Upsells, and Rebills).
Step #4: Order Form Tracking
Section titled “Step #4: Order Form Tracking”- Access your Integrated Sales Reporting settings (Vendor Settings >> My Site >> Integrated Sales Reporting >> Add Tracking Code).
- Select “Tracking Tag” and click “Add”.
- Paste (ctrl+v) the postback URL in the Tracking Tag URL Field.
- Select Track As: “Affiliate”.
- Select only “Order Form”.
- Save
Step #5: Adjust the Conversion Event Mapping
Section titled “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 ad platform integrations (e.g., Facebook Conversion API).
Validate Your Integration
Section titled “Validate Your Integration”Link Tracking
Section titled “Link Tracking”Since tracking starts when visitors click on offer links, verify that your links are tracked and AutoTagged.
- Load the website where you added the AnyTrack Tracking Tag.
- Hover on the ClickBank offer URL.
- Inspect the URL and look for the parameter appended to the URL:
extclid=kQECYO2xNgY4nMd88wypHAd0DHts1mhpy9
AutoTag Methods
Section titled “AutoTag Methods”- 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"orrel="ClickBank". More about Tracking Group. - Click ID Token: You manually append the
extclid:&extclid=--CLICK-ID--to the offer link.
- Tracking Group Attribute: You add the tracking group attribute to links according to their tracking requirements. For example:
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>Conversion Tracking
Section titled “Conversion Tracking”To validate your setup, wait for a conversion or trigger a test conversion yourself and inspect the conversion logs.

ClickBank Conversion Payload Example
Section titled “ClickBank Conversion Payload Example”{ "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-06-30