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

# Webflow integration

> Set up the Webflow Cometly integration to send Webflow form submissions to Cometly as events, so each lead is tied to the ad that produced it.

The [Webflow](https://webflow.partnerlinks.io/sqkq99rbhzdi) Cometly integration sends each form submission on your Webflow site to Cometly as an event. An event is an action Cometly tracks, such as a lead or a purchase.

This matters because Cometly can only attribute the events it receives. Once your Webflow form submissions arrive as events, you can see which campaign, ad set and ad produced each lead.

There are two ways to send Webflow form submissions to Cometly:

1. [Connect Webflow with the Webflow integration](#connect-webflow-with-the-webflow-integration)
2. [Add a Cometly webhook in Webflow yourself](#add-a-cometly-webhook-in-webflow-yourself)

## Before you start

If you have not yet installed the Cometly pixel (the tracking script on your website) on your Webflow site, start with the [Webflow pixel installation guide](https://docs.cometly.com/integrations/pixel/webflow.md).

## Connect Webflow with the Webflow integration

With the Webflow integration you connect your Webflow account, pick a site, and Cometly receives the form submissions from that site.

**1. Connect your Webflow account**

1. In Cometly, click **Integrations** in the sidebar.
2. Search for **Webflow** and click **Connect** on the Webflow card.
3. Click **Add connection** in the top right, then log in to Webflow and approve access.

**2. Create the event**

1. Click **Events Manager** in the sidebar, then click **Create Event**.
2. Under **App / Integration**, select **Webflow**.
3. Select an event name (for example **Lead**), or click **Create New Event**.
4. Click **Create**, then click **Configure** on the new draft event.

**3. Choose the account, site and trigger**

1. Under **Account**, select your Webflow connection.
2. Under **Site**, select the Webflow site you want to track.
3. Under **Trigger**, choose **Form Submitted**.
4. Click **Continue**.

> [!WARNING]
>
> Once selected, the Account and Trigger cannot be modified. To change them, you need to create a new event.

**4. Map the data and activate**

1. Submit a test form on your Webflow site.
2. In Cometly, click **Check for Data**, select the record and click **Continue With Selected Record**.
3. Map the fields. **Email** and **Event Time** are required. Click **Save & Continue**.
4. (Optional) Add filters, then click **Activate**.

## Add a Cometly webhook in Webflow yourself

First create a webhook event in Cometly and copy its webhook URL. The [webhooks guide](https://docs.cometly.com/integrations/webhooks.md) has detailed instructions on:

* Creating your webhook in Cometly
* Selecting the event (or creating an event) for the webhook
* Mapping the webhook data to the appropriate fields in Cometly
* Setting up filters so only the data you want is tracked

Then follow these steps to add the Cometly webhook in Webflow:

1. In your Webflow dashboard, go to your site's **Settings** and select **Apps & Integrations** from the menu.

2. Scroll to the bottom of the page and click **Add webhook**.

   ![Webflow site settings with numbered arrows on Apps and Integrations in the menu and the Add webhook button](https://mintcdn.com/cometly/alvP4_0ekdK-CBm_/images/integrations/platforms/webflow/01.webp?fit=max\&auto=format\&n=alvP4_0ekdK-CBm_\&q=85\&s=4950e1d1cc42f3ab92950f37636745fa)

3. In the **Trigger type** dropdown, choose **Form submission**.

4. In **Webhook URL**, paste the Cometly webhook URL.

5. Click **Add webhook** to save it.

   ![Webflow Add webhook dialog with arrows on the Trigger type set to Form submission and the Webhook URL field](https://mintcdn.com/cometly/alvP4_0ekdK-CBm_/images/integrations/platforms/webflow/02.webp?fit=max\&auto=format\&n=alvP4_0ekdK-CBm_\&q=85\&s=21e195f13c510d32bdb45fb5e4e87fac)

Once Webflow has sent a form submission, go back to Cometly to map the data and activate the event.

## Check it worked

Submit a new form on your Webflow site. In Cometly, click **Events Manager** in the sidebar and open the **Events Log** tab: the event appears there within 60 seconds, with **SUCCESS** in the **Details** column.

## Frequently asked questions

### Do I need to add a webhook in Webflow if I use the Webflow integration?

No. When you connect your Webflow account and choose a site and trigger, Cometly adds the webhook to that Webflow site for you. You only add a webhook yourself if you follow the second method on this page.

### How long does it take for a Webflow form submission to show up in Cometly?

The 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 is my test Webflow form submission missing from my reports?

Test data sent before the event was activated is not processed and does not appear in your reports. Activate the event first, then submit the form again.

## Next steps

* [Use the Events Log to check incoming events](https://docs.cometly.com/support/troubleshooting/general/event-log.md)
* [Map fields and add filters with the webhooks guide](https://docs.cometly.com/integrations/webhooks.md)
* [Install the Cometly pixel on your Webflow site](https://docs.cometly.com/integrations/pixel/webflow.md)
* [Learn how events work in Cometly](https://docs.cometly.com/guides/events/how-events-work.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.