> ## 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: missing purchases in Cometly

> Fix ClickBank purchases not showing in Cometly, or showing without an ad: check your URL parameters, landing page script and webhook.

If you had a purchase (sale) in ClickBank in the past few days that is not showing in Cometly, or it shows but not against the ad that produced it, follow the steps in this guide.

ClickBank purchases not showing in Cometly almost always come down to one of two things. Either the sale never reached your Cometly space (the workspace that holds one business's tracking and ad data), or it arrived without a TID. The TID is the tracking ID that carries the ad ID from your landing page to the ClickBank order, and it is how Cometly knows which ad to credit.

These are the most common reasons why ClickBank purchases do not show in Cometly. Work through them in order.

## Incorrect URL parameters on your ads

This is the most common issue we see with the ClickBank integration. Affiliate network integrations use different URL parameters from the standard Cometly ones, so the parameters shown in Cometly's Setup are not the right ones for ads that send traffic to ClickBank offers. The correct ones are in the URL parameters step of the [ClickBank integration](https://docs.cometly.com/integrations/platforms/clickbank.md) guide.

For Meta ads that send traffic to ClickBank offers, the correct URL parameters are:

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

Check your ads in Meta Ads Manager and make sure every ad that sends traffic to a ClickBank offer has these URL parameters:

1. In Meta Ads Manager, open an ad that sends traffic to a ClickBank offer.
2. In the **Tracking** section, check that the **URL parameters** field contains exactly the parameters above.
3. If you changed anything, publish the ad.
4. Repeat for every ad that sends traffic to a ClickBank offer.

Google Ads and TikTok Ads have their own ClickBank parameters, listed in the same step of the integration guide.

> [!NOTE]
>
> A ClickBank sale that reaches Cometly without a TID is still saved, but Cometly cannot attribute it to an ad. If your sales show in Cometly but not against your ads, check the URL parameters above and the landing page setup below.

## Pixel and script not set up correctly on your landing page

See the landing page tracking step of the [ClickBank integration](https://docs.cometly.com/integrations/platforms/clickbank.md) guide for adding the code to the landing page where you send ad traffic for the ClickBank offers you promote.

You should have the following installed on your landing page:

* **Cometly pixel** *(tracks the View Content and Initiate Checkout events)*

* **Cometly ClickBank script** (passes the TID from the landing page to your ClickBank offer)

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

If either one is missing, add it by following the landing page tracking step of the integration guide.

## Webhook URL or Secret Key not set up correctly

ClickBank sends each sale to Cometly through the webhook URL of your space, encrypted with your ClickBank Secret Key. Cometly can only read the sale if both sides match.

1. In Cometly, go to **Integrations** > **Clickbank**.
2. Check that the **Webhook URL** shown there is the one saved in ClickBank under **Vendor Settings** > **My Site** > **Advanced Tools** > **Instant Notification URL**. Each space has its own webhook URL.
3. Check that the **Secret Key** saved in Cometly is exactly the Secret Key you created in ClickBank (uppercase letters and numbers only).

To see what Cometly received, go to **Events Manager** > **Events Log**. See [Use the Events Log](https://docs.cometly.com/support/troubleshooting/general/event-log.md).

## Transactions Cometly does not record

Cometly records ClickBank sales and paid rebills as Purchase events. A rebill that pays your ClickBank account nothing (for example an affiliate rebill with no recurring commission) is not recorded, and neither are other transaction types.

## Confirm ClickBank purchases now show in Cometly

After your next ClickBank sale, check that it arrives:

1. In Cometly, go to **Events Manager** > **Events Log** and leave **Source** set to **Server**.
2. Look for the sale. An event shows in the Events Log within 60 seconds. A green badge with **SUCCESS** in the **Details** column means Cometly received and processed it. A red badge means there was a problem, and the **Details** column shows the error message.
3. Open the Ads Manager and check that the Purchase shows against the ad that produced it. It can take up to 15 minutes for an event to appear in the reporting areas.

If the sale is in the Events Log but does not show against an ad, it arrived without a TID. Go back to the URL parameters and landing page sections above.

## Frequently asked questions

### Does Cometly track ClickBank upsells?

Yes. A ClickBank purchase that includes an upsell item is recorded as a Purchase and also counts toward **Upsell Purchase** and **Upsell Revenue**.

### Why don't my ClickBank sales in Cometly match my ClickBank account?

The likely cause is a timezone difference. ClickBank always displays data in Pacific Time, while Cometly uses the timezone you chose when you created your space, so the same sale can fall on different days. See [ClickBank: data in Cometly doesn't match ClickBank or Meta](https://docs.cometly.com/support/troubleshooting/integrations/clickbank-data-mismatch.md).

### What purchase amount does Cometly show for a ClickBank sale?

The value of a ClickBank purchase in Cometly is the amount your ClickBank account earned on the transaction.

## Next steps

* [Review the full ClickBank integration setup](https://docs.cometly.com/integrations/platforms/clickbank.md)
* [Fix a ClickBank TID that does not pass from your landing page to your offer](https://docs.cometly.com/support/troubleshooting/integrations/clickbank-tid-not-passing.md)
* [Fix View Content and LP CTR % not showing for ClickBank](https://docs.cometly.com/support/troubleshooting/integrations/clickbank-view-content-and-lp-ctr.md)
* [See why Cometly data differs from ClickBank or Meta](https://docs.cometly.com/support/troubleshooting/integrations/clickbank-data-mismatch.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.