dl.js, event ingest, and your tracking links all load from a subdomain
you own, such as go.acme.com.
Before you start
- You must have the
owneroradminrole. - You must control DNS for the domain.
- You must use a subdomain. An apex domain such as
acme.comcannot carry a CNAME, so it never reachesActive.
datalyr.com, lyr.link, or
dlyr.link.
Add the domain
- Open Settings → Domains.
- Enter the subdomain in the
Add a tracking domaincard, such asgo.acme.com. - Select add domain.
Create the DNS records
The card lists two records. Create both at your DNS provider.If your domain is on Cloudflare, set record 1 to DNS only, the grey cloud. A proxied
orange-cloud record breaks certificate issuance, and the domain never reaches
Active.TXT record.
Add it and verify again.
Verify
- Return to Settings → Domains.
- Select verify.
Active also unlocks two counters on the card: the number of tracking links on the
domain, and unique clicks in the last 30 days.
We re-check every domain once a day at 04:00 UTC, so a slow DNS change resolves itself.
Make it the default
Only a domain atActive can become the default. The default domain is the host inside
the snippet on Settings → Install.
- Select make default on the domain card.
- Open Settings → Install.
- Confirm the snippet
srcnow readshttps://go.acme.com/dl.js. - Deploy the new snippet.
Route Shopify through the domain
The card shows aRoute Shopify block when Shopify is connected. Select it to re-point
your Shopify Web Pixel at the new host. You don’t need a theme edit.
What the domain serves
Ingest on your own domain sets a first-party
__dl_visitor_id cookie for 365 days, with
SameSite=Lax, Secure, and HttpOnly. We suppress that cookie when the browser sends
Sec-GPC: 1 or DNT: 1.
Remove a domain
- Select remove on the domain card.
- Type the hostname to confirm.
- Select remove domain.
When it doesn’t work
Next
- First-party tracking: what the edge does with the requests.
- Install web tracking: deploy the updated snippet.
- Tracking links: build redirects on the new domain.