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

# GoHighLevel pixel installation

> Install the Cometly pixel in GoHighLevel funnels so Cometly tracks where each visitor comes from and captures your form opt-ins.

The Cometly pixel is a small script that tracks where your webpage visitors come from and captures information from form opt-ins (first name, last name, email and phone number). To install the Cometly pixel in GoHighLevel (HighLevel), place it in the **Head tracking code** box of the funnel settings (the funnel's `<head>` section) for every funnel you want to track. This includes funnels on your main domain (for example `cometly.com`) and on subdomains (`go.cometly.com`, `blog.cometly.com`, `academy.cometly.com` and so on).

Cometly only has a record of visits to pages that carry the pixel. Once it is in your funnels, Cometly can tie each GoHighLevel lead back to the ad or channel that brought the visitor in, so you can see which campaigns produce your opt-ins.

> [!NOTE]
>
> If you embed a GoHighLevel iframe form on your landing page, you also need to add the pixel and an additional code snippet to the form itself. See [GoHighLevel form tracking](https://docs.cometly.com/integrations/forms/gohighlevel.md).

## Install the pixel in GoHighLevel

1. In Cometly, click [**Setup**](https://app.cometly.com/space-setup?step=install-pixel) in the left sidebar and open step 2, **Install the Cometly pixel**. Under **Install the pixel**, click **Copy Code**.
2. In GoHighLevel, go to **Sites**, open your funnel and click the **Settings** tab.
3. Paste the Cometly pixel into the **Head tracking code** box and save. Repeat for each funnel you want to track.

## Check it worked

Use the Cometly Pixel Helper to check that the pixel is loading on your GoHighLevel pages and forms. You should see an **Init** event on each funnel page that carries the pixel. See [Cometly Pixel Helper](https://docs.cometly.com/guides/tracking/pixel-helper.md).

You can also verify each domain from Setup step 2 under **Verify your pixel**. A domain where the pixel is installed correctly shows **Pixel detected**. See [Install and verify the Cometly pixel](https://docs.cometly.com/getting-started/install-pixel.md).

## Send GoHighLevel events to Cometly

The pixel tracks visits and form opt-ins. To send other GoHighLevel events (such as leads, opportunities and won deals) to Cometly, use a webhook. See [Send HighLevel events with webhooks](https://docs.cometly.com/integrations/guides/highlevel-webhooks.md).

## Frequently asked questions

### Does the Cometly pixel track GoHighLevel forms automatically?

Yes, for native forms built into a landing page in the GoHighLevel web builder: once the pixel is in the funnel, it captures the form fields with no extra steps. Forms built in the GoHighLevel form builder and embedded as an iframe need the pixel and an extra snippet added to the form itself. See [GoHighLevel form tracking](https://docs.cometly.com/integrations/forms/gohighlevel.md).

### Why does Cometly say my tracking script has changed?

The pixel script changes when you add or remove domains, or change a setting under **Pixel options** in Setup step 2. Copy the code again and replace the old script in the **Head tracking code** box of each GoHighLevel funnel.

### Why does my GoHighLevel domain show Pixel not detected?

**Pixel not detected** means Cometly could not find the pixel on that domain. Check that the pixel is saved in the **Head tracking code** box of the funnel on that domain, and that the domain in Cometly matches how your page loads (with or without `www.`). Then click **Retry** next to the domain.

## Next steps

* [Track embedded GoHighLevel iframe forms](https://docs.cometly.com/integrations/forms/gohighlevel.md)
* [Send HighLevel leads, opportunities and won deals with webhooks](https://docs.cometly.com/integrations/guides/highlevel-webhooks.md)
* [Test form tracking on your funnel pages](https://docs.cometly.com/guides/form-tracking/testing.md)
* [Check your pixel with the Cometly Pixel Helper](https://docs.cometly.com/guides/tracking/pixel-helper.md)
* [Add and verify your domains in Setup](https://docs.cometly.com/getting-started/install-pixel.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.