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

# Funnelish integration

> Set up the Funnelish Cometly integration to send every funnel purchase, upsells included, to Cometly and tie each sale to the ad that produced it.

The Funnelish Cometly integration sends purchase data from your funnels to Cometly automatically. For funnels with upsells, the total upsell value is combined with the original purchase amount, so the whole transaction is recorded as a single purchase in Cometly. You can still see the upsell details on the contact's timeline.

This matters because each sale is tied back to the ad or channel that produced it, so you can see which campaigns bring in revenue and not only clicks. Cometly also sends each purchase to your ad platforms through the Conversion API (the server-side connection that reports conversions back to the platforms), with the full order value.

> [!NOTE]
>
> The integration sends purchases only. To send form submissions as leads, or any other event from your funnel, use [Cometly webhooks](https://docs.cometly.com/integrations/webhooks.md).

## Before you start

Install the Cometly pixel (the tracking script that records the visitors who reach your pages) on your Funnelish funnels. If you have not done this yet, follow the [Funnelish pixel installation guide](https://docs.cometly.com/integrations/pixel/funnelish.md).

## Activate Funnelish in Cometly

1. In Cometly, click **Integrations** in the left sidebar, find the **Funnelish** card (category **Ecommerce**) and click **Connect**.

   ![Cometly Apps & Integrations page on the Ecommerce category with an arrow pointing at the Connect button on the Funnelish card](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/funnelish/01.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=a783f271a61cd7e4aeb754285d54cb6e)

   You can also start from **Events Manager**: click **Create Event**, choose **Funnelish** under **App / Integration** and click **Integrate**.

2. On the Funnelish page, click **Activate Funnelish**.

3. Under **Copy the webhook URL**, click **Copy**.

## Add the Cometly webhook URL to Funnelish

1. Log in to your Funnelish account and go to **Automations**.

   ![Funnelish top navigation with an arrow pointing at Automations](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/funnelish/05.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=b9a9fabeda660b5105713a0aafef6e5d)

2. Click **Create a new automation**.

   ![Funnelish Automations page with the Create a new automation button highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/funnelish/06.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=6c71359ed79cf4466961571e4033dcbe)

3. Select **Start from scratch** and click **Create**. Name the automation `Cometly Webhook`, click **+ New Trigger** and select **On purchase**.

   ![Funnelish Add new trigger dialog with the On purchase trigger highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/funnelish/07.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=c861c10147058ba026219a2ed3a0c7ff)

4. Keep **Run only once per customer?** turned off, so returning customers are tracked too. Make sure **Trigger on funnel(s)** is set to **All funnels**, then click **Create**.

   ![Funnelish Refine trigger dialog with Run only once per customer off and All funnels selected](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/funnelish/08.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=373520cf626224f6aff9702c6db3071d)

5. Click the **+** button to add an action.

   ![Funnelish automation canvas with the plus button under the On purchase trigger highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/funnelish/09.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=a990efb07334ad53b7e2744dfebb0e0a)

6. Select **Webhook**.

   ![Funnelish Add a new action dialog with the Webhook action highlighted](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/funnelish/10.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=a4a113687f5b1696d6c7a7982b4bed3b)

7. Paste the webhook URL you copied from Cometly into **Postback endpoint** and click **Add**.

   ![Funnelish Add new webhook dialog with the Cometly webhook URL in the Postback endpoint field](https://mintcdn.com/cometly/gJhojf-axy7BVk83/images/integrations/platforms/funnelish/11.webp?fit=max\&auto=format\&n=gJhojf-axy7BVk83\&q=85\&s=647a2ecfb5cc066fa0a60125a77e4ac4)

Funnelish is now connected, and every purchase is sent to Cometly.

## Check it worked

Place a test order in one of your funnels. Then, in Cometly, click **Events Manager** in the left sidebar, open the **Events Log** tab and keep **Source** set to **Server**. The purchase appears in the list, and its **Details** column shows **SUCCESS** when it was processed without issues. See [Use the Events Log](https://docs.cometly.com/support/troubleshooting/general/event-log.md) for what each status means.

## Choose the Cometly event (optional)

An event is an action Cometly records, such as a purchase or a lead. By default, Funnelish purchases are recorded as the **Purchase** event. To record them as a different event, go back to the Funnelish page in Cometly, pick the event under **Map Funnelish events to Cometly** and click **Save**.

## Track Add to Cart and Initiate Checkout events

To fire the Add to Cart and Initiate Checkout events as soon as specific funnel pages load, add the matching browser code just **before the closing `</body>` tag** on the pages where you want each event to fire. See [Add to Cart and Initiate Checkout events](https://docs.cometly.com/guides/events/add-to-cart-and-initiate-checkout.md) for more detail.

### Add to Cart

```html theme={null}
<script>
comet('add_to_cart');
</script>
```

### Initiate Checkout

```html theme={null}
<script>
comet('initiate_checkout');
</script>
```

## Frequently asked questions

### What happens if my Funnelish funnel charges in a different currency?

Cometly converts the order total into your Space's currency before it records the purchase (a Space is the Cometly workspace that holds one business's tracking and reporting). Your revenue numbers stay in one currency, even when a funnel sells in another.

### How long does it take for a Funnelish purchase to show up in Cometly?

The purchase shows in the Events Log within 60 seconds. It can take up to 15 minutes to appear in the reporting areas, such as the Report Builder or Ads Manager.

### Why are my Funnelish purchases not matched to an ad in Cometly?

Check that the Cometly pixel is on every page of the funnel and that the checkout page has the hidden `comet_fp` field. That field sends the visitor's Cometly fingerprint with each order, which Cometly uses to connect the purchase to the visitor's earlier ad clicks. Both are covered in the [Funnelish pixel installation guide](https://docs.cometly.com/integrations/pixel/funnelish.md).

## Next steps

* [Install the Cometly pixel on your Funnelish funnels](https://docs.cometly.com/integrations/pixel/funnelish.md)
* [Track Add to Cart and Initiate Checkout events](https://docs.cometly.com/guides/events/add-to-cart-and-initiate-checkout.md)
* [Send leads and other funnel events with Cometly webhooks](https://docs.cometly.com/integrations/webhooks.md)
* [Check incoming events in the Events Log](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.