ClickBank New Integration

ClickBank has released new affiliate tracking parameters to enhance tracking capabilities for affiliates, with AnyTrack integration already supporting these updates.

As of June 4, 2024, ClickBank has released a bundle of new affiliate tracking parameters to supplement the existing tracking ID (TID) functionality for affiliate tracking links. These updates will empower affiliates with advanced tracking capabilities, insightful reporting, and seamless integrations with AnyTrack.

👍

AnyTrack is already integrated with the New Affiliate Tracking Parameters

📘

Read if your ClickBank Account is enabled for the new tracking parameters:

If your ClickBank account is already integrated with the new ClickBank tracking parameters, you just have to update the ISN version to Version 8.0 in order to enable your AnyTrack integration:

  1. Clickbank links are automatically tagged with the new extclid tracking parameter.
  2. The postback URL for both the Order Page Impression and Purchase events already supports the new parameters.
  3. What you need to do is update the ISN version to version 8.0 in order to receive the new affiliate tracking parameters.
Upgrade to ClickBank new affiliate tracking parameters

How to upgrade your ClickBank integration to Version 8.0 and take advantage of the new affiliate tracking parameters.

The New ClickBank Integration

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 track 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. Customer Checkout: When the visitor lands on the Order Page, AnyTrack tracks the Order Page Impression and triggers an InitiateCheckout event (👉 Click here for a payload example).
  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 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

📘

For reference only

These technical details are for reference only as they are automatically set by the AnyTrack tracking tag.

ReferenceValueInformation
Tracking GroupclickbankThe Tracking Group reference can be used to manually activate AutoTag.
Subid ParameterextclidThe Subid Parameter used to pass the AnyTrack click_id.
Tracking MethodPostback URLThe conversion is sent from the ClickBank servers to AnyTrack.
Hop Linkhttps://key.hop.clickbank.net?extclid=--CLICK-ID--
Direct Offer Linkhttps://offerurl.foo/?shield=key&extclid=--CLICK-ID--

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 EventsAnyTrack EventsMeta conversions Mapping (example)DetailsSource
Link ClickOutboundClickViewContentWhen a visitor clicks on ClickBank hop link.AnyTrack JS Tag
Order FormInitiateCheckoutInitiateCheckoutWhen a user loads the ClickBank order page.Postback URL
SALEPurchasePurchaseWhen a user generates a sale for a standard product.Postback URL
REBILLPurchasePurchaseWhen a user generates a sale for a product with recurring sales.Postback URL

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/clickbank

❗️

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 8.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

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

🔎

Install the AnyTrack Pixel Helper Extension

Install the AnyTrack Pixel Helper Chrome extension to verify the AnyTrack Tag is installed on your website. It also shows connected ad networks and browser-side events. Learn more.

Link tracking

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

  1. Load your 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

AutoTag Methods

🔥

Reminder about AutoTag:

AutoTag is a function that is enabled by default through the AnyTrack Tracking Tag, and that appends extclid & 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 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 tid parameters are passed to the offer links.

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

<a href="https://example.foo/goto/clickbank" 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 Rakuten group is rakuten. 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 new extclid parameter appended to the ClickBank hop link

"extclid": "kQECYO2xNgY4nMd88wypHAd0DHts1mhpy9"

{
  "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 for ClickBank New Affiliate Tracking Parameters

  • How do I get access to the new Clickbank tracking parameters?

    You need to ask your ClickBank affiliate manager.
  • How do I verify that my account is on the new tracking method?

    The payload of the order page impression should include the following parameters:
    {
      "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"
    }
    
  • 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 in AnyTrack?

    No. The 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 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 extclid 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 initially tracked by AnyTrack.
  • 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 seeing any data in the event log:

    • Verify that thepixle 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.