Why This Matters
Ad blockers and browser privacy updates are making it harder than ever to rely on third-party scripts for accurate tracking. That’s why First Party Domain Tracking is so important—it allows you to serve the Cometly pixel from your own domain instead of comet-serve.com
.
This gives you:
Higher data accuracy (fewer blocked events).
Stronger compliance and trust (events look like they’re coming directly from your site).
Future-proof tracking as browsers continue to limit third-party cookies and scripts.
⚡ Tip: While setting up your first party domain, you can continue using the default Cometly script so you don’t lose any tracking. Once your domain is verified, simply replace the script with your first-party version.
Step 1: Enable First Party Domain Tracking
Go to the Space Setup page and click Install & Verify Cometly Pixel
Toggle First Party Domain Tracking to On.
Enter the subdomain you want to dedicate (example:
m.yourdomain.com
ordata.yourdomain.com
).✅ Do use a subdomain like
data.yourdomain.com
orm.yourdomain.com
.❌ Avoid using words like
track
,click
, oranalytics
that are often flagged by blockers.⚠️ The subdomain will become dedicated to Cometly tracking only.
Click Configure Domain.
It will take anywhere from 20-60 seconds for the SSL configuration to complete. Continue to click the Check Status button every 10 seconds until you see the DNS records.
Step 2: Add Required DNS Records
After configuring your domain, Cometly will generate two CNAME records you need to add in your DNS provider:
Certificate Validation – proves ownership of your domain.
Domain Validation – points your subdomain to Cometly’s infrastructure.
Example records:
Once added, go back to Cometly and click Check Status.
It’s normal for Certificate Validation to complete first.
When both are validated, you’ll see your new First Party Pixel script ready to copy.
DNS Provider Setup Guides
Click your provider below to jump to instructions:
Cloudflare
Cloudflare
Log in to your Cloudflare dashboard.
Select your domain.
Go to DNS → Records.
Click Add Record → choose CNAME.
Make sure Proxy Status is set to DNS Only (gray cloud).
Save the record.
Repeat for the Certificate Validation CNAME if shown.
GoDaddy
GoDaddy
Log in to your GoDaddy account.
Go to My Products → DNS → Manage DNS.
Click Add.
From the dropdown, select CNAME.
Host: Enter the subdomain (example:
m
).Points to: Enter the CloudFront value from Cometly.
Save.
Add the second Certificate Validation CNAME if required.
Google Domains
Google Domains
Log in at Google Domains.
Select your domain → go to DNS.
Under Custom Records, click Add.
Choose CNAME.
Host name: Enter the subdomain (example:
m
).Data: Paste the value from Cometly.
Save.
Repeat for the Certificate Validation record if shown.
Namecheap
Namecheap
Log in to Namecheap.
Go to Domain List → Manage → Advanced DNS.
Scroll to Host Records → click Add New Record.
Select CNAME Record.
Host: Enter the subdomain (example:
m
).Value: Enter the CloudFront URL from Cometly.
Save.
Add the second Certificate Validation CNAME as required.
AWS Route 53
AWS Route 53
Go to your AWS Route 53 console.
Select your hosted zone (your domain).
Click Create Record.
Choose CNAME.
Record name: Enter the subdomain (example:
m
).Value: Paste the CloudFront URL.
Save.
Repeat for the Certificate Validation record.
Bluehost
Bluehost
Log in to Bluehost.
Go to Domains → Zone Editor.
Click Add Record.
Select CNAME.
Host Record: Enter your subdomain (example:
m
).Points To: Paste the CloudFront value.
Save changes.
Repeat for Certificate Validation CNAME.
Squarespace
Squarespace
Log in to your Squarespace dashboard.
Go to Settings → Domains → DNS Settings.
Scroll to Advanced Settings.
Add a new CNAME.
Host: Enter the subdomain (example:
m
).Value: Paste the CloudFront value from Cometly.
Save.
Add the Certificate Validation CNAME if required.
Wix
Wix
Log in to your Wix account.
Go to Domains → Advanced → DNS.
Add a new CNAME record.
Host Name: Enter your subdomain (example:
m
).Value: Paste the CloudFront value from Cometly.
Save changes.
Repeat for the Certificate Validation CNAME.
Step 3: Replace Your Pixel
Once validated, your script will change to use your custom subdomain:
Add to the <head>
of your site (or via GTM/WordPress plugin).
Troubleshooting First Party Domain Setup
If your validation isn’t completing or something looks stuck, here are the most common fixes:
DNS Propagation Delay
DNS changes can take up to 24–48 hours, though most resolve in under an hour. Check back after some time.
Proxy Enabled in Cloudflare
If using Cloudflare, make sure your CNAME record’s Proxy Status is set to DNS Only (gray cloud). Proxied records (orange cloud) will block validation.
Incorrect Record Type
Ensure you added a CNAME record, not an A or TXT record.
Extra Characters in DNS Entry
Double-check for trailing spaces, missing dots, or cut-off values in your DNS panel.
Certificate Validation First
It’s normal for the Certificate Validation record to complete before the Domain Validation record. Wait until both show as “Validated.”
Using the Wrong Subdomain
Ensure you entered the exact subdomain you configured in Cometly. For example, if you set up
m.yourdomain.com
, the CNAME should match exactly.
Fallback Option
If setup takes longer, you can continue using the default pixel (
js.comet-serve.com
) until validation is complete.
Disconnecting a First Party Tracking Domain
If you ever need to remove your configured tracking domain, you can disconnect it directly from the Cometly dashboard.
Important Notes Before Disconnecting
The tracking domain will stop serving the pixel immediately.
The domain will be removed from your account.
You will need to reconfigure DNS records if you want to use this domain again in the future.
To prevent data loss, we strongly recommend switching back to the default Cometly script before disconnecting.
How to Disconnect
Go to your Cometly Pixel Setup page.
Click Disconnect Domain.
Confirm the action in the popup.
Update your website to use either the general Cometly pixel or a new first-party domain if you’re reconfiguring.
After disconnecting, your site will continue tracking with the default pixel until you reconnect a new first-party domain.