> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cometly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ClickBank integration

> Set up the ClickBank Cometly integration to track purchases, hops and order form impressions, and see which ad produced each sale.

The ClickBank Cometly integration sends your ClickBank purchases, hops and order form impressions to your Cometly space (the workspace that holds one business's tracking and ad data). Cometly records them as events (the actions it tracks, such as a Purchase) and ties each one to the ad that brought the visitor.

That matters because ClickBank reports a sale but not the ad behind it. With the integration in place, you can see in Cometly which campaign, ad set and ad produced each sale, and send those conversions back to your ad platforms. Read every step and watch the videos so your space tracks ClickBank correctly.

You need these seven steps in place:

1. Understand how ClickBank metrics appear in Cometly
2. Purchase tracking setup
3. Checkout tracking setup
4. Landing page tracking setup
5. Set up UTM parameters on your ads
6. Connect ad accounts
7. Configure Conversion APIs

> [!WARNING]
>
> **Important:** ClickBank has its own setup and uses specific UTM parameters that differ from the standard Cometly setup. Ignore the general **Setup** steps in Cometly (in particular the URL parameters in step 4, **Add URL parameters to your ads**) and follow this article step by step.

If you run into issues after you finish the setup, see [Troubleshooting](#troubleshooting-the-clickbank-integration) at the bottom of this article.

## Step 1: Understand how ClickBank metrics appear in Cometly

Start here so you know how ClickBank metrics map to Cometly metrics.

| ClickBank metric | Cometly metric |
| - | - |
| Hops | View Content |
| Order Form Impressions (OFIs) | Initiate Checkout |
| Purchase | Purchase |
| | LP CTR (landing page click-through rate) |

* **View Content:** In ClickBank, a "hop" is a potential customer clicking an affiliate link. In Cometly this metric is called *View Content*. The link is unique to each affiliate and tracks the source of traffic to a product's sales page. When someone clicks it, a hop is recorded, which shows the affiliate sent traffic to the vendor's product page.

* **Initiate Checkout:** In ClickBank, an "Order Form Impression (OFI)" is the number of times the ClickBank order form was displayed. It tells vendors and affiliates how many potential customers reached the point of possibly buying. A high number of OFIs suggests effective marketing up to the point of sale.

* **Upsell Purchase:** The number of transactions that are upsells during checkout.

* **Upsell Revenue:** The part of your total sales revenue that comes from upsells in your funnel, or from extra items added to a purchase.

  * *Gross Revenue is the total revenue generated, and Upsell Revenue is automatically included in it.*

* **Cost per Upsell:** The average ad spend needed to generate one upsell purchase. It is the total amount spent on ads divided by the number of upsell purchases.

* **LP CTR:** Landing page click-through rate. It is the total number of View Content events divided by the number of link clicks.

> [!NOTE]
>
> The "DV to OFI%" and "OFI to Sale%" metrics are no longer available as columns. If you need them, build your own: in the Ads Manager, open the **Columns** menu and click **Manage Custom Metrics**.

> [!NOTE]
>
> **Pro tip:** Now that you know which metrics you will use, [configure your Ads Manager](https://docs.cometly.com/guides/ads-manager/overview.md) to show them.

## Step 2: Purchase tracking setup

In this step you add a webhook to your ClickBank account. It sends each new purchase to Cometly as soon as it happens.

**1. Open My Site in ClickBank**

In your ClickBank account, go to **Vendor Settings > My Site**.

![ClickBank account with arrows on Vendor Settings and the My Site tab](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/01.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=7654a0ffdee4962dbaca2d971b032149)

**2. Edit Advanced Tools**

Scroll down the My Site page to the **Advanced Tools** section and click **Edit**.

![ClickBank My Site page with the Advanced Tools section highlighted and an arrow on its Edit link](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/02.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=8a8b9d5f5d9ccf44ca4b57634e7824ea)

**3. Create a Secret Key**

Enter a **Secret Key** made of UPPERCASE LETTERS or numbers, up to 16 characters. *Do not use lowercase letters, spaces or symbols, or you will get an error.*

![ClickBank Advanced Tools editor with the Secret Key field highlighted](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/03.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=ec500b6ee48847bd2eee32af83242e3a)

**4. Open the Clickbank integration in Cometly**

In a new tab, open the [**Events Manager**](https://app.cometly.com/space/events-manager) in your Cometly space and click **Create Event**.

![Cometly Events Manager on the Events tab in its empty state, with the Create Event button at the top right](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/04.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=416cefc1ecd72b251778b4c733a3f4d2)

Under **App / Integration**, select **Clickbank**, then click **Integrate**.

![Create Event dialog with callout 1 on Clickbank in the App / Integration field and callout 2 on the Integrate button](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/05.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=729d0a7793d67a53a14ad327e0ecb645)

You can also reach the same page from **Integrations**: find the **Clickbank** card and click **Connect**.

**5. Activate ClickBank**

Click **Activate ClickBank**.

![Clickbank integration page in Cometly before activation, with an arrow pointing to the Activate ClickBank button](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/06.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=e8ceab282acee0f10d767eb1fe3bbfd3)

**6. Save your Secret Key in Cometly**

Under **Configure webhook & secret key**, paste your Secret Key into the **Secret Key** field and click **Save**. It must match the key you created in ClickBank.

![Clickbank integration page after activation, with callout 1, Paste Secret Key here, pointing into the Secret Key field and callout 2 on the Save button](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/07.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=aaf92ce6d8073c8e4bdc480b7d656a82)

**7. Copy the webhook URL**

Next to **Webhook URL**, click **Copy**. Then go back to ClickBank in your other tab.

![Clickbank integration page after activation, with an arrow pointing to the Copy button next to the Webhook URL field](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/08.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=782a5d1dd95b1d8c3c3b4b0e28f5e1e6)

**8. Paste the webhook in ClickBank**

Paste the webhook into the **Instant Notification URL** box and click **Save Changes**.

> [!NOTE]
>
> If the Instant Notification URL section says ***(request access)***, click the request access link and select Yes for all of the questions. Tick the checkbox to agree to the Terms of Service, then click *Save Changes & Request API Access*.

![ClickBank Advanced Tools editor with the Cometly webhook in the Instant Notification URL field and an arrow on Save Changes](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/09.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=45a61df664f5fd6e2bbac01c0b39ef88)

**9. Test and verify the webhook**

After you save, you need to test and verify the webhook. Click **Edit** again to go back to the webhook setup.

![ClickBank My Site page showing the saved Instant Notification URL as unverified, with an arrow on the Edit link](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/10.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=25583182d625917bbc7785db04423504)

Click **TEST IPN**. The URL should now show as verified.

![ClickBank Advanced Tools editor with an arrow on the TEST IPN button next to the unverified URL](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/11.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=1c922c6563f77b2ca1c2b9e0630b73e6)

Once you can confirm it is verified, as in the image below, click **Save Changes**.

![ClickBank Advanced Tools editor showing the URL as Verified, with an arrow on Save Changes](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/12.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=1e4ef16369776d415d32861f19708226)

> [!NOTE]
>
> You do not create ClickBank events by hand. Once event data starts flowing from ClickBank, the event and integration appear in the Events Manager automatically. Cometly records a Purchase for ClickBank sale (`SALE`) and rebill (`BILL`) notifications. Other notification types are not recorded, and a rebill that pays your account \$0 is ignored.

## Step 3: Checkout tracking setup

In this step you add a tracking pixel to your ClickBank account. It sends information to Cometly every time a visitor views the checkout page, or "initiates a checkout". In ClickBank this metric is called "Order Form Impression". In Cometly it is called "Initiate Checkout".

**1. Open My Site in ClickBank again**

In your ClickBank account, go to **Vendor Settings > My Site**.

**2. Add a tracking code**

Scroll down the My Site page to the **Integrated Sales Reporting** section and click **Add Tracking Code**.

![ClickBank Integrated Sales Reporting section with an arrow on the Add Tracking Code button](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/14.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=369efb924bdef5ac81ddb763978081aa)

Choose **Tracking Pixel** and click **Add**.

![ClickBank Add Tracking Code page with Tracking Pixel chosen in the Type menu and an arrow on Add](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/15.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=d4db3adc9c117af9e09c9bdc815cce10)

**3. Configure the order form tracking**

The numbers below match the numbers in the image.

1. Go back to the Clickbank integration page in Cometly, copy the webhook URL and paste it into the **Tracking Pixel URL** box.
2. For **Track As**, choose **Affiliate**.
3. For **Where to Fire**, choose **Order Form**.
4. Click **Save**.

![ClickBank Tracking Pixel form with numbered arrows on the URL field, Affiliate, Order Form and Save](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/16.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=9be5b184ebde1eee13faaac9c84c0cc9)

**4. Activate the tracking code**

The tracking code you added is inactive by default. To make it active, go back to **Integrated Sales Reporting** on the My Site page and click the green play button, as shown below.

![Integrated Sales Reporting table with an inactive Custom Pixel row and an arrow on its green play button](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/17.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=45634b37fc2d3f36bc2c3a93dcddc830)

The tracking code is active when the Status column shows **Active**.

![Integrated Sales Reporting table showing the tracking code with an Active status](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/18.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=5ef93481b3424761d30282b032e5b853)

## Step 4: Landing page tracking setup

In this step you add scripts to your landing page. It is very important that these scripts are placed properly, so read the instructions carefully.

Pick the landing page builder you use. We have specific instructions for:

* [ClickFunnels](#clickfunnels-landing-page-setup)
* [Hero AI](#hero-ai-landing-page-setup)

### ClickFunnels landing page setup

**Add header code**

Add your Cometly pixel and your Meta pixel to the **HEADER CODE** section.

**1. Copy your Cometly pixel**

In Cometly, open [**Setup**](https://app.cometly.com/space-setup?step=install-pixel) and go to step 2, **Install the Cometly pixel**. Under **Install the pixel**, click **Copy Code**. See [Install the Cometly pixel](https://docs.cometly.com/getting-started/install-pixel.md) for details.

**2. Open Tracking Code in ClickFunnels**

Go to your funnel in ClickFunnels and click **Settings > Tracking Code**.

![ClickFunnels page editor with the Settings menu open and an arrow on Tracking Code](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/19.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=44d777a83da92210eff0728e34668e9b)

**3. Paste the Cometly pixel in the header**

Add the Cometly pixel to the `<head>` section of your landing page.

**4. Add your Meta pixel in the header**

Add your Meta pixel to the `<head>` section of your landing page.

**Add footer code**

Add the script below to the **FOOTER CODE** section.

**1. Open Tracking Code again**

Click **Settings > Tracking Code**.

**2. Add the footer script**

Click **Footer Code** and add the code below:

```html theme={null}
<script src="https://app.cometly.com/j"></script>
```

![ClickFunnels Tracking Code window on the Footer Code tab with the Cometly ClickBank script pasted in](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/23.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=6fb126445ae3ef52846f0aeec06c27ca)

**3. Save the page**

In the top right of the page editor, click **Save**.

![ClickFunnels page editor toolbar with an arrow on the Save button](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/24.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=fffeea924022ea26bc1fb372e088ac18)

With this code on your landing page, the dynamic UTM parameters from your ads pass forward to your ClickBank offer page. A **View Content** event also fires every time a ClickBank affiliate URL is clicked. The View Content event is the "hop" you see inside ClickBank: any time a visitor has seen the offer sales page.

**Troubleshooting ClickFunnels tracking issues**

When you use ClickFunnels to promote ClickBank products, image links or buttons sometimes do not pass tracking codes properly. To fix this:

1. **Check image hyperlinks:** Make sure image links in ClickFunnels include the proper UTM parameters.
2. **Test buttons:** Make sure CTA buttons pass tracking codes correctly (they usually work without changes).
3. **Modify hoplink URLs:** If tracking issues persist, try adding `&tid=` at the end of your hoplink URL. This can resolve persistent tracking problems in ClickFunnels 2.0.

> [!WARNING]
>
> **Important:** Use an encrypted ClickBank hoplink on your buttons or linked images so the Cometly code can pass the UTM parameters.

#### Test your ClickFunnels landing page

This video shows you how to test your own landing page to make sure the UTM parameters from Facebook pass through your landing page and into the ClickBank checkout (so the ad ID reaches the ClickBank offer):

[Test your landing page to ensure the ad ID passes to the ClickBank offer](https://player.vimeo.com/video/904210237)

If your UTM parameters are not passing through to the ClickBank checkout, check the following:

1. Your Cometly code is in the footer of your landing page.
2. You have no other custom scripts on your landing page.
3. Depending on your offer you may have to use a different UTM parameter. Instead of **?utm\_campaign=** try **?tid=**.
4. You have an encrypted hoplink on your landing page with no extra parameters added to it. Use the exact encrypted hoplink that ClickBank provides.

### Hero AI landing page setup

These instructions set up ClickBank tracking for all landing pages in a Hero AI site group. Any landing page you build in that site group gets the codes automatically.

> [!WARNING]
>
> **Important:** To track BuyGoods and ClickBank at the same time *(or any two affiliate networks at the same time)*, use a different site group in Hero AI for each. The codes below apply to every landing page in the selected Hero AI site group.

**1. Add your Meta pixel**

Go to **Pixel Code** and add your Meta pixel.

![Hero AI Pixel Code page with the Meta pixel pasted in and arrows on Pixel Code and Save Changes](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/25.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=95418d9f7b7a480a3b81285e8b34070e)

**2. Add the header code**

In Cometly, open [**Setup**](https://app.cometly.com/space-setup?step=install-pixel) and go to step 2, **Install the Cometly pixel**. Under **Install the pixel**, click **Copy Code**.

In Hero AI, click **Site Settings** and paste the Cometly pixel into **Header Code**.

**3. Add the footer code**

In **Footer Code**, add the code below:

```html theme={null}
<script src="https://app.cometly.com/j"></script>
```

Click **Save Changes**.

With this code on your landing page, the dynamic UTM parameters from your ads pass forward to your ClickBank offer page. A **View Content** event also fires every time a ClickBank affiliate URL is clicked. The View Content event is the "hop" you see inside ClickBank: any time a visitor has seen the offer sales page.

> [!WARNING]
>
> **Important:** Use an encrypted ClickBank hoplink on your buttons or linked images so the Cometly code can pass the UTM parameters.

#### Test your Hero AI landing page

This video shows you how to test your own landing page to make sure the UTM parameters from Facebook pass through your landing page and into the ClickBank checkout (so the ad ID reaches the ClickBank offer):

[Test your landing page to ensure the ad ID passes to the ClickBank offer](https://player.vimeo.com/video/904210237)

If your UTM parameters are not passing through to the ClickBank checkout, check the following:

1. Your Cometly code is in the footer of your landing page.
2. You have no other custom scripts on your landing page.
3. Depending on your offer you may have to use a different UTM parameter. Instead of **?utm\_campaign=** try **?tid=**.
4. You have an encrypted hoplink on your landing page with no extra parameters added to it. Use the exact encrypted hoplink that ClickBank provides.

## Step 5: Set up UTM parameters on your ads

* [Meta Ads parameters for ClickBank](#setup-utm-parameters-on-your-meta-ads-for-clickbank)
* [Google Ads parameters for ClickBank](#set-up-google-ads-parameters-for-clickbank)
* [TikTok Ads parameters for ClickBank](#set-up-tiktok-ads-parameters-for-clickbank)

### Setup UTM parameters on your Meta ads for ClickBank

The following UTM parameter is required on **every Meta ad** that you want to track with Cometly:

```text theme={null}
utm_campaign={{ad.id}}&comet_source={{site_source_name}}&comet_ad_id={{ad.id}}&comet_placement={{placement}}
```

![Meta Ads Manager Tracking section with the ClickBank parameters in the URL parameters field](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/28.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=b99c9ac5cc65e4e819c031073cf43eb3)

After you add the parameter to your ads, **publish your ads**.

### Set up Google Ads parameters for ClickBank

[Set up Google Ads parameters for ClickBank](https://www.loom.com/embed/b1dd93f7b95f4a45b4aebd2fad90414e)

To track ClickBank data from your Google Ads, Cometly needs the following tracking template in the **Tracking template** field of each of your Google campaigns:

```text theme={null}
{lpurl}?utm_campaign=g_{creative}&comet_source=google&comet_network={network}&comet_campaign={campaignid}&comet_ad_group={adgroupid}&comet_ad_id={creative}&comet_keyword={keyword}
```

To set it up in Google Ads, go to **Settings > Campaign Settings** and select the campaigns you want to track with Cometly.

Then click **Edit > Change tracking templates**.

You should see a box labeled **New tracking template**. Paste the tracking template above into it.

Click **Apply** to save the change. This puts your ads back into review, but it does not affect delivery once the ads are approved.

### Set up TikTok Ads parameters for ClickBank

[Set up TikTok Ads parameters for ClickBank](https://www.loom.com/embed/40f144190d98465a82925b15120126b7)

Cometly needs the following UTM parameters added to the end of the **Website URL** of each of your TikTok ads:

```text theme={null}
?utm_source=tiktok&utm_campaign=__CID__&comet_source=tiktok&comet_ad_id=__CID__
```

To set this up in TikTok Ads Manager, go to the ad level and select an ad you want to track with Cometly. Look for a section titled **Destination page** with a box for **Website URL**.

**Example:**

If your landing page URL is:

```text theme={null}
https://www.example.com/lander
```

You need to add:

```text theme={null}
?utm_source=tiktok&utm_campaign=__CID__&comet_source=tiktok&comet_ad_id=__CID__
```

Your final Website URL should look like this:

```text theme={null}
https://www.example.com/lander?utm_source=tiktok&utm_campaign=__CID__&comet_source=tiktok&comet_ad_id=__CID__
```

After you add the parameters to your ads, publish your ads.

## Step 6: Connect ad accounts

### Connect your profile

Connecting your own profile lets Cometly see the ad accounts you have permission to use. Once your profile is connected, you can connect those ad accounts to your space for tracking and reporting. For the full walkthrough, see [Connect ad platforms and ad accounts](https://docs.cometly.com/getting-started/connect-ad-platforms.md).

1. In the left sidebar, click **Integrations**.
2. In the **Ad Platforms** section, find the row of the ad platform you want to connect (for example Meta Ads, Google Ads or TikTok Ads).
3. Click the sign-in button on that row (for example **Sign in with Facebook** for Meta Ads) and follow the prompts.

![Cometly Integrations page with callout 1 on Integrations in the sidebar, callout 2 on the Ad Platforms category and callout 3 on the Sign in with Facebook button in the Meta Ads row](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickbank/33.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=daa06298c9e256f5d7dd9c5fc40a32aa)

### Connect ad accounts to your space

After you connect your profile, expand the platform's row to see the ad accounts you have access to. Profile connections are personal: they are tied to your user account, so only you can see and manage them.

Click **Connect & Sync Data** next to the ad account you want to add to the space.

Once connected, the ad account appears in the connected ad accounts card for that platform (for example **Connected Meta Ad Accounts**), where everyone in the space can see it.

### What to expect after you connect ad accounts

* After you connect an ad account, **it takes up to 60 minutes for data to refresh and appear in Cometly**.
* During this time, active campaigns won't show in the Cometly Ads Manager. Once the data refreshes within the 60-minute window, all active campaigns appear automatically.
* Ad and event conversion data starts showing from the moment tracking is enabled. Past data cannot be retrieved retroactively.

## Step 7: Configure Conversion APIs to send data to ad platforms

### Set up the Facebook Conversion API on ClickBank

The video below walks you step by step through setting up the Facebook Conversion API inside your ClickBank account.

[How to set up the Facebook Conversion API on ClickBank](https://www.youtube.com/embed/T86xG-BOERQ)

### Set up the Google Conversion API on ClickBank

The video below explains step by step how to set up the Google Conversions API inside your ClickBank account:

[How to set up the Google Conversion API in ClickBank](https://www.loom.com/embed/81e7b8df88014749a3bf00db022d93ae)

## Check it worked

On the Clickbank integration page in Cometly you see **ClickBank activated**, and in ClickBank the Instant Notification URL shows as verified. Once ClickBank data starts flowing, the ClickBank event and integration appear in the **Events Manager** on their own, and your Purchase, Initiate Checkout and View Content numbers show against your ads in the Ads Manager. Allow up to 60 minutes after you connect an ad account for your campaigns to appear.

## Troubleshooting the ClickBank integration

These are the common issues our support team sees when Cometly users set up the ClickBank integration.

### Missing ClickBank purchases in Cometly

If you had a sale in the past few days and it is not showing in Cometly, use the troubleshooting guide below to check that everything is set up properly.

[**Learn how to troubleshoot missing ClickBank purchases in Cometly**](https://docs.cometly.com/support/troubleshooting/integrations/clickbank-missing-purchases.md)

### My active ad campaigns are not showing in Cometly

After you connect an ad account, **it takes up to 60 minutes for data to refresh and appear in Cometly**. During this time, active campaigns won't show in the Cometly Ads Manager. Once the data refreshes within the 60-minute window, all active campaigns appear automatically. Ad and event conversion data starts showing from the moment tracking is enabled.

### Red dots next to campaigns, ad sets and ads

If you see red dots next to your campaigns after the first data refresh (the tooltip reads "UTM Setup Error"), there is likely an issue with the UTM parameters on your ads. The ClickBank integration needs specific UTM parameters that differ from the ones listed in Cometly's Setup. Use the parameters in this article:

* [**Meta UTM parameters for ClickBank**](#setup-utm-parameters-on-your-meta-ads-for-clickbank)
* [**Google UTM parameters for ClickBank**](#set-up-google-ads-parameters-for-clickbank)
* [**TikTok UTM parameters for ClickBank**](#set-up-tiktok-ads-parameters-for-clickbank)

### View Content and LP CTR % metrics are not showing

If you use the ClickBank integration and the View Content (hops) metric or the LP CTR % (landing page click-through rate) is not displaying, the cause is likely the View Content tracking, because LP CTR % is calculated from the total number of View Content events.

[**Fix View Content and LP CTR % metric not showing**](https://docs.cometly.com/support/troubleshooting/integrations/clickbank-view-content-and-lp-ctr.md)

### Data in Cometly does not match Facebook

If the data in Cometly doesn't match what you see in Facebook Ads Manager for ClickBank campaigns, the cause is likely a timezone difference.

[**Learn why data in Cometly does not match Facebook**](https://docs.cometly.com/support/troubleshooting/integrations/clickbank-data-mismatch.md)

### Data in Cometly does not match ClickBank

If you notice differences between your ClickBank data and your Cometly data, the cause is likely a timezone difference, because ClickBank data defaults to the Pacific timezone.

[**Learn why data in Cometly does not match ClickBank**](https://docs.cometly.com/support/troubleshooting/integrations/clickbank-data-mismatch.md)

### ClickBank TID not passing from landing page to offer

If your ClickBank TID is not passing from your landing page to your offer, you may not have placed the Cometly ClickBank script on your landing page. For the fix and other troubleshooting steps, see the article below.

[**Fix ClickBank TID not passing from landing page to offer**](https://docs.cometly.com/support/troubleshooting/integrations/clickbank-tid-not-passing.md)

### Image links or buttons in ClickFunnels not passing tracking codes

If you use ClickFunnels and find that image links or buttons don't pass tracking codes properly, try these solutions:

1. **Update your UTM parameters:** Check that the UTM parameters in your tracking links match the format in Step 5 of this guide.
2. **Check image hyperlinks:** Update the hyperlink settings for images to include the proper UTM parameters.
3. **Test buttons:** Check that CTA buttons pass tracking codes correctly.
4. **Modify hoplink URLs:** For persistent tracking issues in ClickFunnels 2.0, try adding `&tid=` at the end of your hoplink URL.

## Frequently asked questions

### Does Cometly track ClickBank rebills and upsells?

Yes. Cometly records a Purchase for each ClickBank sale and each paid rebill, and a purchase that includes an upsell item also counts toward **Upsell Purchase** and **Upsell Revenue**. A rebill that pays your account \$0 is ignored.

### Why does a ClickBank sale show in Cometly but not against an ad?

The sale reached Cometly without a TID (the tracking ID that carries the ad ID from your landing page to the ClickBank order). Cometly still saves the sale, but it cannot attribute it to an ad. Check the UTM parameters on your ads and the footer script on your landing page.

### How do I see what ClickBank sent to Cometly?

Go to **Events Manager** > **Events Log**. It lists the data Cometly received, so you can confirm whether a sale arrived. See [Use the Events Log](https://docs.cometly.com/support/troubleshooting/general/event-log.md).

## Next steps

* [Configure your Ads Manager to show ClickBank metrics](https://docs.cometly.com/guides/ads-manager/overview.md)
* [Connect ad platforms and ad accounts](https://docs.cometly.com/getting-started/connect-ad-platforms.md)
* [Troubleshoot missing ClickBank purchases](https://docs.cometly.com/support/troubleshooting/integrations/clickbank-missing-purchases.md)
* [Fix a ClickBank TID that does not pass to your offer](https://docs.cometly.com/support/troubleshooting/integrations/clickbank-tid-not-passing.md)
* [Use the Events Log to see what Cometly received](https://docs.cometly.com/support/troubleshooting/general/event-log.md)

Still have questions or need a hand? We're happy to help. Reach our team at [support@cometly.com](mailto:support@cometly.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.