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

# ClickFunnels integration

> Set up the ClickFunnels Cometly integration to send form, order, subscription and opportunity events to Cometly and see which ads produce them.

Connect your [ClickFunnels](https://www.clickfunnels.com/signup-flow-new-plans?aff=d7a179b229bb1f19e010fd14bc1a83d344460e6c23c8d3e178101c9c6f6fd4b4) account to Cometly to track key events and contact updates automatically. With the ClickFunnels Cometly integration, each form submission, order, subscription payment, opportunity change or course enrollment arrives in Cometly as an event (an action Cometly tracks, such as a lead or a purchase).

Once those events are in Cometly, each one can be tied back to the ad or channel that brought the contact to your funnel. That lets you see which campaigns produce leads and sales in ClickFunnels, not only clicks.

## What the ClickFunnels Cometly integration tracks

In a few clicks, you can set Cometly up to receive event data from ClickFunnels for any of these triggers:

* **Contact Submitted Form**
* **One-Time Order Paid**
* **Subscription Invoice Paid**
* **Subscription First Payment Received**
* **Opportunity Created**
* **Opportunity Closed**
* **Opportunity Moved Stage**
* **Opportunity Updated**
* **Contact Course Enrollment**
* **Contact Completed Course**

> [!NOTE]
>
> This page is for ClickFunnels 2.0, which appears as **ClickFunnels** in Cometly. If you use ClickFunnels 1.0, follow the [ClickFunnels Classic integration guide](https://docs.cometly.com/integrations/platforms/clickfunnels-classic.md) instead.

## Before you start

Install the Cometly pixel (the tracking script that records visits to your pages) in your ClickFunnels account. If you have not done this yet, follow the [ClickFunnels pixel installation guide](https://docs.cometly.com/integrations/pixel/clickfunnels.md).

The Cometly pixel automatically captures key form field data on your ClickFunnels pages, including first name, last name, email and phone number. This links each new event sent to Cometly to the original customer journey, so you can see detailed source data in your Cometly account.

## Step 1: Create the event

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

![Events tab of the Cometly Events Manager with three events in the table and an arrow pointing to the Create Event button](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickfunnels/01.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=d369eda3a724db3378222839de5eb53b)

In the **Create Event** dialog:

1. Under **App / Integration**, select **ClickFunnels**.
2. Under **Events**, choose your event name. You can pick an existing event or click **Create New Event**.
3. Optionally, add an event description.
4. Click **Create**.

![Create Event dialog with numbered arrows: 1 on ClickFunnels under App / Integration, 2 on the Lead event and 3 on the Create button](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickfunnels/02.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=965f60d3ec38a3d1d60f42bde915acf7)

## Step 2: Choose an account and trigger

The new event appears in the Events Manager with a **Draft** status. Click **Configure** on its row to start setting up the ClickFunnels integration.

![Events Manager table filtered to one Lead event for ClickFunnels in Draft status, with an arrow pointing to its Configure button](https://mintcdn.com/cometly/2fSDFk1g6ELl9hsV/images/integrations/platforms/clickfunnels/03.webp?fit=max\&auto=format\&n=2fSDFk1g6ELl9hsV\&q=85\&s=6dce8aff14f7a32ae748652de4a92625)

On this screen you choose the ClickFunnels account and the trigger that will send your selected event to Cometly.

1. **App**

   The **App** field is already set to **ClickFunnels**.

2. **Account**

   * Click the **Select an account** dropdown.
   * Select the ClickFunnels account you want to use.
   * If this is your first time connecting ClickFunnels to Cometly, click **Connect new account** to add your ClickFunnels connection.

3. **Trigger**

   Click **Choose trigger** and pick when an event should be sent to Cometly:

   | Trigger | When it fires |
   | - | - |
   | Contact Submitted Form | A form is submitted in your funnel. |
   | One-Time Order Paid | A customer pays a one-time order. |
   | Subscription Invoice Paid | A subscription invoice is paid. |
   | Subscription First Payment Received | The first payment is received for a subscription. |
   | Opportunity Created | A new opportunity is created. |
   | Opportunity Closed | An opportunity is marked as Closed. |
   | Opportunity Moved Stage | An opportunity has moved to a new stage. |
   | Opportunity Updated | An opportunity is updated. |
   | Contact Course Enrollment | A new or existing contact enrolls in a course. |
   | Contact Completed Course | A new or existing contact completed a course. |

4. **Click Continue**

   * Once you select the **Account** and **Trigger**, they cannot be changed. To use a different account or trigger, you have to create a new event.
   * Double-check your selections before you continue.

## Step 3: Receive test data

To configure and test the integration for a specific ClickFunnels trigger, you need to fire that trigger yourself in ClickFunnels.

1. Go to your ClickFunnels account and complete the action that would naturally fire the trigger you chose. For example:

   * Submit a form
   * Pay for a one-time order
   * Complete the first payment on a subscription
   * Move an opportunity to a new stage
   * Enroll a contact in a course

2. Back in Cometly, click **Check for Data**. This pulls in the most recent event data from ClickFunnels for that trigger.

3. Choose the record that matches the test action you just performed.

4. Click **Continue With Selected Record**.

> [!TIP]
>
> No data yet? You can come back later and map your data once events are sent. Click **Save & Return When Data is Ready**.

## Step 4: Configure mapping

Map the data fields from ClickFunnels to Cometly fields. This makes sure the event data you send, such as email addresses, event times or other custom data, lines up with Cometly's reporting.

**Email** and **Event Time** are required fields.

1. **Email:** Choose the email address field from your selected record (for example `email@example.com`).
2. **Event Time:** Choose the dynamic option **The time we receive the event**.

Click **Add Field** to map more fields, such as:

* First Name
* Last Name
* Phone
* Amount

When you have mapped your data to Cometly fields, click **Save & Continue**.

## Step 5: Configure filters and activate the event

Filters let you control **when** an event in ClickFunnels should create an event in Cometly. This step is optional, but **highly recommended** when you track changes to a contact status or opportunity stage and only want to send the event under certain conditions.

### Common use cases for filtering in ClickFunnels

* Only create the event in Cometly when **Opportunity = Contract Sent**
* Send the event only when a **custom contact field** (like Business Type) contains a specific value
* Skip events for contacts that don't meet your qualification criteria

### Add filters

1. Click **Add Filters** (or **Add Another Filter** if you already have one).
2. Select the field from your test record that you want to filter by.
3. Choose your condition (for example `(text) is`, `(text) contains` or `(text) starts with`).
4. Enter the value you want to match.

### Test result

Cometly checks your filters against your test record:

* If your test data **matches** the filter, you see a green success message, **Your Webhook would have successfully continued**, with a line for each filter such as:

  `phone (+1234567890) (text) contains 90 - PASS`

* If the data **doesn't pass**, you see a message telling you the webhook would not have continued.

When your filters are set up the way you want, click **Activate** to activate your event. (If the event is already active and you are editing it, the button reads **Save**.)

You have now finished setting up your event. There is no limit: set up as many events as you need.

## Check it worked

In the **Events Manager**, your ClickFunnels event now shows the status **Active** instead of **Draft**. The next time the trigger fires in ClickFunnels, open the **Events Log** tab in the Events Manager: the event shows there within 60 seconds.

## Prefer webhooks?

We strongly recommend the direct ClickFunnels integration described on this page. You authenticate your ClickFunnels account and events are sent to Cometly automatically, which is the fastest and easiest way to get data flowing. If you prefer to use webhooks, follow [Send ClickFunnels events with webhooks](https://docs.cometly.com/integrations/guides/clickfunnels-webhooks.md) to send event data manually.

## Frequently asked questions

### How long does it take for ClickFunnels events to show up in Cometly?

A ClickFunnels event shows in the Events Log within 60 seconds of being sent. It can take up to 15 minutes to appear in the reporting areas, such as the Report Builder or Ads Manager.

### Why are my ClickFunnels purchases paid with Stripe missing an ad source?

When Stripe takes the payment on your funnel, the Cometly pixel cannot capture the email address from the Stripe form, so Cometly cannot link the purchase to the visitor. Add a hidden **comet\_token** field to your ClickFunnels form and map it to your purchase event. See [Track ClickFunnels purchases paid with Stripe](https://docs.cometly.com/integrations/guides/clickfunnels-with-stripe.md).

## Next steps

* [Use the Events Log to confirm ClickFunnels events arrive](https://docs.cometly.com/support/troubleshooting/general/event-log.md)
* [Send conversions back to your ad platforms](https://docs.cometly.com/getting-started/send-conversions.md)
* [Track ClickFunnels purchases paid with Stripe](https://docs.cometly.com/integrations/guides/clickfunnels-with-stripe.md)
* [Learn how standard and custom events work](https://docs.cometly.com/guides/events/how-events-work.md)
* [Understand No Source in reports](https://docs.cometly.com/support/troubleshooting/sources/no-source.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.