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

# Init not detected

> Fix the Cometly Pixel Helper Init not detected error: check the pixel is in your site's head and matches your space's script, then clear your cache.

You open the [Cometly Pixel Helper](https://docs.cometly.com/guides/tracking/pixel-helper.md) (a Chrome extension) on one of your pages and it reports **Init not detected**. **Init** (short for "initiation") is the event the Cometly pixel fires on each page that contains it. The pixel is the script on your site that tracks where your visitors come from and captures opt-in data from your forms.

When the Cometly Pixel Helper shows Init not detected, the usual causes are that the pixel is not in the `<head>` of the page, that the script on your website does not match the one Cometly shows for your space (the workspace that holds one business's tracking data), or that your website is serving an old cached copy of the page. Cometly only tracks the pages that carry the pixel, so fix this before you rely on the data from that page.

## Troubleshoot the Init not detected error

1. Make sure the Cometly pixel is in the `<head>` of your website.

   If you are using the Cometly Pixel Helper on a GoHighLevel page, see [Install the pixel in GoHighLevel](https://docs.cometly.com/integrations/pixel/gohighlevel.md) for installation instructions.

2. Check that the pixel on your website matches the script Cometly shows for your space. In Cometly, go to **Setup** > **Install the Cometly pixel** and find the code under **Install the pixel**. By default it is a single script tag:

   ```html theme={null}
   <script src="https://js.comet-serve.com/script.js?uid=[your-unique-identifier]"></script>
   ```

   If the script on your website is different, click **Copy Code** and replace the one on your website. See [Install and verify the Cometly pixel](https://docs.cometly.com/getting-started/install-pixel.md).

   ![Install the pixel card in Cometly Setup, showing the single script tag for the pixel with the uid blurred and the Copy Code button below it](https://mintcdn.com/cometly/tD3Mww01MPmE7a9V/images/support/troubleshooting/pixel/init-not-detected/01.webp?fit=max\&auto=format\&n=tD3Mww01MPmE7a9V\&q=85\&s=97c015a1bd9df9cf96f7db5c8ea336e3)

3. Clear your website cache and retry using the [Cometly Pixel Helper](https://docs.cometly.com/guides/tracking/pixel-helper.md).

## Confirm the Init event fires

Open the page again, start a session in the Cometly Pixel Helper by clicking **Start**, then reload the page. You should see an **Init** event fire on each page that contains the Cometly pixel.

To confirm the pixel inside Cometly as well, go to **Setup** > **Install the Cometly pixel** and click **Verify** next to your domain under **Verify your pixel**. The domain shows **Pixel detected**.

## Frequently asked questions

### Can I check the Cometly pixel without the Pixel Helper extension?

Yes. In Cometly, go to **Setup** > **Install the Cometly pixel** and click **Verify** next to your domain under **Verify your pixel**. Cometly opens your website in a pop-up window and checks whether the pixel is installed, which usually takes a few seconds.

### Does the Init event have to fire before my other Cometly events?

Yes. The pixel's **Init** event must come first, before any Cometly browser event code on the page. If Init is not detected, fix the pixel installation before you test your event code.

### Can a speed or caching plugin stop the Cometly pixel from loading?

Yes. A plugin or code setting that delays JavaScript execution (on WordPress, the most common one is WP Rocket) delays the Cometly pixel, which results in missed data. See [Delayed JavaScript execution or lazy loading](https://docs.cometly.com/support/troubleshooting/pixel/delayed-javascript-or-lazy-loading.md) for the fix.

## Next steps

* [Check your pixel and events with the Cometly Pixel Helper](https://docs.cometly.com/guides/tracking/pixel-helper.md)
* [Install and verify the Cometly pixel](https://docs.cometly.com/getting-started/install-pixel.md)
* [Fix the base code not detected error](https://docs.cometly.com/support/troubleshooting/pixel/base-code-not-detected.md)
* [Fix delayed JavaScript execution or lazy loading](https://docs.cometly.com/support/troubleshooting/pixel/delayed-javascript-or-lazy-loading.md)
* [Use Cometly with a Content Security Policy](https://docs.cometly.com/support/troubleshooting/pixel/content-security-policy.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.