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

# Jotform integration

> Set up the Jotform Cometly integration: send each form submission to Cometly as an event with a webhook or Zapier, and see which ad produced each lead.

The Jotform Cometly integration sends each Jotform submission to Cometly as an event. An event is an action Cometly tracks, such as a form submission or a lead. You can send it with a Cometly webhook (a URL that Jotform posts each submission to in real time) or with Zapier.

This matters because Cometly can only attribute the events it receives. Once your Jotform submissions arrive with the Comet Token, the identifier that links a submission to the visitor's tracked session, you can see which campaign, ad set and ad produced each lead.

This page covers two ways to send event data from Jotform to Cometly:

1. [Jotform event data via Cometly webhooks](#jotform-event-data-via-cometly-webhooks)
2. [Use Zapier to send events from Jotform to Cometly](#use-zapier-to-send-events-from-jotform-to-cometly)

## Before you start

If your Jotform form is embedded on your website, set it up for tracking first. Follow the [Jotform form tracking guide](https://docs.cometly.com/integrations/forms/jotform.md) so that each submission carries the Comet Token.

> [!WARNING]
>
> For accurate tracking, make sure you map the **comet\_token** when you send your event.

## Jotform event data via Cometly webhooks

1. In Cometly, choose the event you want to send when a Jotform form is submitted and generate a new Cometly webhook for it. Follow the steps in the [Cometly webhooks guide](https://docs.cometly.com/integrations/webhooks.md), then copy the webhook URL.

2. Inside your Jotform form, click **Settings**.

3. Click **Integrations**.

4. Search for **Webhook**.

   ![Jotform form Settings tab with Integrations selected and the integrations search box highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/jotform/01.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=b53af2f0227facff0d830027eec3439e)

5. **Add** the Cometly webhook URL inside Jotform and click **Complete Integration**.

   ![Jotform Webhooks integration with the Add WebHook field and the Complete Integration button highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/jotform/02.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=ef32f87ce618a1b71a39f62d59a51de8)

6. Back in Cometly, when you map the event data for this webhook, make sure you map the **comet\_token** value to the **Comet Token** field.

7. Use the [Cometly webhooks guide](https://docs.cometly.com/integrations/webhooks.md) to complete the webhook setup.

## Use Zapier to send events from Jotform to Cometly

After you have published your site with the code from the [Jotform form tracking guide](https://docs.cometly.com/integrations/forms/jotform.md) added, submit a new Jotform submission.

The steps below assume you are using Zapier. If you send the Jotform submission to Cometly another way, you should still see the Answers Comet Token value.

You should see **Answers Comet Token** in your payload:

![Zapier Jotform New Submission test record with the Answers Comet Token value highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/jotform/03.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=0e898283241befa1af1f426ac3d43e99)

**Map** the value in Answers Comet Token to the **Comet Token** field when you send the event to Cometly:

![Zapier Cometly Send Event action with Answers Comet Token mapped to the Comet Token field](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/jotform/04.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=32947b160872e25f8a8a63bf46ced51b)

Whether you use Zapier or another platform to send events to Cometly, map the other values to the matching fields as well: first name, last name, email, phone and so on.

To connect Cometly to Zapier and set up the action, see the [Zapier integration](https://docs.cometly.com/integrations/zapier.md) guide.

## Check it worked

Submit a new entry on your Jotform form, then open [Events Manager](https://app.cometly.com/space/events-manager) and click the **Events Log** tab. The event appears there within 60 seconds, with **SUCCESS** in the **Details** column. If you used a webhook, the event also shows a switch that is turned on in the **Status** column once the webhook is activated.

## Frequently asked questions

### Does Cometly have a native Jotform integration?

No. Cometly has no built-in Jotform connection, so you send submissions with a Cometly webhook or with Zapier. Both methods are covered on this page.

### Should I use a webhook or Zapier to send Jotform submissions to Cometly?

Use a webhook when you want Jotform to send each submission straight to Cometly, with no other tool in between. Use Zapier when you would rather build the connection as a Zap, with Jotform as the trigger and Cometly as the action.

### How long does it take for a Jotform 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.

## Next steps

* [Set up Jotform form tracking so submissions carry the Comet Token](https://docs.cometly.com/integrations/forms/jotform.md)
* [Finish your webhook: mapping, filters and activation](https://docs.cometly.com/integrations/webhooks.md)
* [Connect Cometly to Zapier and send events from a Zap](https://docs.cometly.com/integrations/zapier.md)
* [Use the Events Log to check incoming events](https://docs.cometly.com/support/troubleshooting/general/event-log.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.