Skip to main content
The Cometly pixel is a small script you add to your website. It tracks where your webpage visitors come from and captures information from form opt-ins (first name, last name, email and phone number). This guide shows you how to install the Cometly pixel on Webflow using the site’s custom code settings. Once the pixel is on your Webflow site, Cometly can tie each lead and sale back to the ad or channel that brought the visitor in. Without it, Cometly has no record of the visit, so the rest of your tracking depends on this step.

Before you start

  • Place the pixel on every website or domain you want to track: your main domain (for example cometly.com) and any subdomains (go.cometly.com, blog.cometly.com, academy.cometly.com and so on).
  • The pixel must be placed in the <head> section of every website that you want to track.

Copy your Cometly pixel

In Cometly, click Setup in the left sidebar and open step 2, Install the Cometly pixel.
Cometly Set up your space page on the Setup tab, with the Install the Cometly pixel step outlined in orange in the Space setup list of seven steps.
Under Install the pixel, click Copy Code. You will paste this code into the <head> section of your website.
The Install the pixel section in Cometly Setup, showing the pixel script tag and an orange arrow pointing to the Copy Code button, above the Pixel Guide, WordPress and GTM links.

Install the Cometly pixel in Webflow

1

Open the site settings

Log in to your Webflow account and go to the Dashboard. Click the gear icon (Site settings) on the site where you want to add the Cometly pixel.
Webflow Dashboard with an arrow pointing to the Site settings gear icon on a site card
2

Add the pixel as custom code

In the site settings, select the Custom code tab.
Webflow site settings with Custom code highlighted at the bottom of the left menu
Find the Head code section and paste your Cometly pixel into it.
3

Save and publish

Click Save to apply the changes, then publish your site. Custom code only goes live when the site is published.

Check it worked

The Cometly pixel now tracks visitor activity on your published Webflow site. To confirm it, go back to step 2 of Setup in Cometly and click Verify next to your domain under Verify your pixel: the domain shows Pixel detected. For the full verification steps, see Install and verify the Cometly pixel. To send Webflow form submissions to Cometly as events (the actions Cometly tracks, such as a lead), see the Webflow integration.

Cross-domain tracking (required for SaaS companies)

If your users move between your main domain and subdomains (for example from cometly.com to app.cometly.com), you need to configure cross-domain tracking to keep user data accurate. Example: If traffic flows from cometly.com to app.cometly.com, cross-domain tracking ensures users are tracked properly across both domains. To set it up, see cross-domain tracking.

Frequently asked questions

Why is the Cometly pixel not detected on my Webflow site?

The most common cause is that the site was saved but not published: Webflow custom code only goes live when the site is published. Also check that the code in Head code matches the script Cometly shows under Install the pixel. The script changes when you add or remove domains or change a setting under Pixel options, so copy it again if Cometly tells you it has changed.

Can I install the Cometly pixel on Webflow through Google Tag Manager?

Yes, the pixel works when it is installed through Google Tag Manager, but you may lose attribution data because of loading delays and privacy blockers. Pasting it into Webflow’s Head code is the recommended setup. Do not do both, because the pixel then loads twice and causes tracking issues. See Google Tag Manager pixel installation.

How do I check that the Cometly pixel captures my Webflow forms?

Use Test form tracking, the last part of the same Setup step where you copied the pixel. It opens a page of your site in a pop-up window and tells you whether Cometly can see the forms on it and their email field. See Test form tracking.

Next steps

Still have questions or need a hand? We’re happy to help. Reach our team at support@cometly.com.