Skip to main content
All CollectionsInstall & Verify Pixel
Install & Verify Cometly Pixel
Install & Verify Cometly Pixel

Learn how to install and verify the Cometly Pixel.

Updated over a month ago

The Cometly base code pixel automatically tracks the source of webpage visitors and automatically captures information from form opt-ins (first name, last name, email, and phone number). To begin, place the Cometly Pixel on every website or domain you want to track, including your main domain, subdomains, and any additional domains.

This pixel must be placed in the <head> section of every website that you want to track. This includes your main domain (e.g., cometly.com) and subdomains (go.cometly.com, blog.cometly.com, academy.cometly.com, etc.).

If you are a SaaS company, please visit our SaaS Pixel Implementation Guide.


Install Cometly Pixel

Visit the Space Setup page and click Install & Verify Cometly Pixel.

In Step 1, Install Cometly tracking script on your site, click Copy Code to copy the Cometly Pixel and add to in the <head> section of your website(s).


Test & Verify Pixel Installation

In Step 2, under Add and verify domains, you will add your domains where you have the Cometly Pixel installed on and verify the pixel has been installed.

Enter your domain. Learn how to ensure you are using the correct domain URL:

  1. Open your website in a browser.

  2. Check if your domain includes "www." when the page loads.

    1. If it does, include "www." when adding your domain (e.g., www.yourdomain.com).

    2. If it doesn’t, leave out "www." and just add your domain (e.g., yourdomain.com).

Click Add Domain

After your domains have been added, click < > Test Script

You will see a pop up open that says "The verification process will open your website in a pop-up window to begin the process. Please do not close the pop-up window until the test is finished. We'll update you with the results as soon as the verification process is finished, this normally only takes a few seconds."

It is optional to test a specific page URL. This is typically used for SaaS companies that are only adding the Cometly Pixel to the login and registration page only. You may enter a specific URL to only test that specific page URL.

Click Confirm to test your domain to ensure the Cometly Pixel is installed.

In the Added domains section, you will either see Verified or Failed.

  • Verified indicates your domain has the Cometly Pixel installed correctly.

  • Failed indicates your domain does not have the Cometly Pixel installed correctly.

If your test has failed, visit our Cometly Pixel Troubleshooting Guides.

Automatic Cross Domain Tracking (Required For SaaS Companies)

Example: If traffic flows from cometly.com to app.cometly.com, cross-domain tracking ensures users are properly tracked across both domains.

Ensure seamless tracking for users navigating across your main domain, subdomains, or other domains by enabling Automatic Cross-Domain Tracking. This feature ensures proper handling of cross-domain traffic, allowing all user activities to be accurately tracked, regardless of the domain they interact with. Once enabled, your verified domains will automatically leverage the comet_token for precise and reliable tracking.

To enable, simply toggle on Automatic Cross Domain Tracking.

You have two options for setting up Cross-Domain Tracking with Cometly:


(Additional Resource) Use the Cometly Pixel Helper (Google Chrome Plugin)

The Cometly Pixel Helper is a Chrome Browser extension that will help you ensure that you have correctly installed Cometly on your website.

The plugin will assist you with 2 things:

  1. Check for errors in your base code pixel installation.

  2. Identify the Cometly events loading on your page and verify the Cometly base code is automatically capturing data on your opt in forms.

Did this answer your question?