go.yourbrand.com) that points at Datalyr’s edge. Serving your tracking script, event collection, and redirect links from your own origin — instead of a shared Datalyr domain — makes tracking dramatically more durable.
Why use a tracking domain
- Durable identity under Safari/ITP. A first-party, server-set visitor cookie survives far longer than a JavaScript-set one, so repeat visitors aren’t seen as new — better attribution and higher CAPI match rates.
- Fewer blocked events. Ad-blockers and privacy lists target shared tracker domains. Your own subdomain isn’t on those lists.
- Exact link tracking. Redirect links served from your domain (
go.yourbrand.com/spring) count every click precisely, independent of any landing-page script. - Reputation isolation. Your domain’s deliverability is yours alone — never affected by another customer.
Set it up
Add your domain
Go to Settings → Domains and enter a subdomain you own. We suggest
go.yourbrand.com (the go. prefix is deliberate — tracker-sounding prefixes like track. or analytics. are exactly what blocklists match on).Use a subdomain, not your apex domain — an apex (
yourbrand.com) can’t point to us with a CNAME.Add the DNS records
We’ll show you two records to add at your DNS provider, shown as separate, numbered entries:SSL is issued automatically once both records are detected, usually within a few minutes.
- CNAME — points your subdomain at our edge (and proves ownership).
- TXT (
_acme-challenge.…) — issues the SSL certificate.
If your domain is on Cloudflare, set the CNAME to “DNS only” (grey cloud), not proxied — otherwise it won’t reach our edge.
What changes once it’s active
- Install snippet — point your script tag at your domain. The SDK auto-derives its endpoint from the script’s origin, so no extra config is needed:
- Tracking links — create redirect links on your domain in Track: pick the domain, and we generate a short link like
https://go.yourbrand.com/springthat 302s to your destination and counts the click exactly.
Shopify: one-click first-party
If your store is on Shopify and connected to Datalyr, the active domain’s card shows a Route Shopify tracking through this domain button. One click re-points your Datalyr Web Pixel to send events throughgo.yourbrand.com — no theme editing, no code. Your storefront and checkout events then flow first-party, which is especially valuable for health/wellness and other privacy-sensitive verticals (the data stays on your own origin) and lifts CAPI match quality.
App-install links
For app advertisers, create a link in Track, choose App install, and add your iOS / Android store URLs. The link opens a fast first-party page on your domain that:- runs the Datalyr SDK to capture the device fingerprint, IP, and ad click-ids, firing an
$app_download_click— the anchor your mobile SDK matches the install against; - routes the visitor to the right store by device (iPhone → App Store, Android → Play Store), and on Android encodes the click attribution into the Play Store install referrer for a deterministic match;
- sends everyone else (desktop, etc.) to your destination URL.
iPads are handled. Since iPadOS 13, Safari on iPad sends a desktop (Mac) user-agent, but the interstitial detects iPads by their touch support (
navigator.maxTouchPoints) and routes them to the App Store like any other iOS device.Privacy & consent
A first-party, server-set visitor cookie is still a tracking cookie. Making it first-party does not remove your consent obligations — in the EU/UK, analytics/tracking cookies require consent regardless of whether they’re first- or third-party. The edge suppresses the persistent cookie when the request carries a Global Privacy Control (Sec-GPC: 1) or Do-Not-Track (DNT: 1) signal, or an explicit X-DL-Consent: denied. Wire your consent management platform (CMP) so it only enables tracking after the visitor consents — and have it signal denial when they don’t. Datalyr respects those signals; obtaining consent is your responsibility as the site owner.