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

# Wix integration

> Set up the Wix Cometly integration with a webhook so each Wix form submission becomes an event tied to the ad that brought the visitor.

The Wix Cometly integration connects [Wix](https://www.wix.com/) to Cometly with a webhook, a message one app sends to another in real time. Wix sends form submission data to a webhook URL from Cometly, and you map that data to a Cometly event for tracking and attribution. An event is an action Cometly tracks, such as a form submission, a lead or a purchase.

Once your Wix form submissions arrive as events, Cometly can tie each one back to the visitor's journey. That lets you see which campaign, ad set and ad produced each lead, not only which ones got clicks.

## Before you start

Install the Cometly pixel (the tracking script that records visits to your website) on your Wix site so form submissions can be matched to the visitor's journey. See [Install the pixel](https://docs.cometly.com/getting-started/install-pixel.md).

## Set up the Wix Cometly integration

**1. Create a webhook event in Cometly**

1. In Cometly, click **Events Manager** in the sidebar, then click **Create Event**.
2. Under **App / Integration**, select **Webhooks**.
3. Select the event name you want to track, or click **Create New Event**.
4. Click **Create**, then click **Configure** on the new draft event.
5. Click **Copy** next to **Your webhook URL**.

![Receive Data step of a webhook event for Lead, showing Your webhook URL with the Copy button boxed and the Check for Data button below](https://mintcdn.com/cometly/alvP4_0ekdK-CBm_/images/integrations/platforms/wix/01.webp?fit=max\&auto=format\&n=alvP4_0ekdK-CBm_\&q=85\&s=4d1c6b21e6a9602a521cbee9c92d3750)

**2. Add the webhook URL in Wix**

Follow Wix's official instructions: [Sending data via webhook](https://support.wix.com/en/article/the-new-automation-builder-sending-data-via-webhook).

When you reach the step that asks for the webhook URL, paste the Cometly webhook URL you copied.

**3. Map the data in Cometly**

Once Wix has sent a form submission to the webhook, go back to Cometly and finish the event. The [webhooks guide](https://docs.cometly.com/integrations/webhooks.md) has detailed instructions on:

* Checking for data and selecting a record
* Mapping the webhook data to the appropriate fields in Cometly
* Setting up filters so only the data you want is tracked

## Check it worked

In **Events Manager**, your webhook event shows a switch that is turned on in the **Status** column once you activate it. Submit your Wix form again, then open the **Events Log** tab: the event appears there within 60 seconds, with **SUCCESS** in the **Details** column.

## Frequently asked questions

### Does Cometly have a direct integration with Wix?

Wix connects to Cometly through a webhook, not a built-in connection. You create a webhook event in Cometly, paste its URL into a Wix automation, and each form submission is sent to Cometly as that event. If you would rather build the connection as a Zap, you can use [Zapier](https://docs.cometly.com/integrations/zapier.md) instead.

### How long does it take for a Wix 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 Wix test submission missing from my Cometly reports?

Test data sent before the webhook event was activated is not processed and does not appear in your reports. Activate the event, then send a new form submission from Wix and check the Events Log.

## Next steps

* [Map, filter and activate your webhook event](https://docs.cometly.com/integrations/webhooks.md)
* [Use the Events Log to check incoming events](https://docs.cometly.com/support/troubleshooting/general/event-log.md)
* [Install the Cometly pixel](https://docs.cometly.com/getting-started/install-pixel.md)
* [Learn how events work in Cometly](https://docs.cometly.com/guides/events/how-events-work.md)
* [Send events to Cometly with Zapier](https://docs.cometly.com/integrations/zapier.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.