Definition
First-party collection routes tracking requests to an endpoint under the site's own domain.
This describes the collection path, not every later recipient of the data. The first-party or third-party context of a cookie also depends on the site being visited. An endpoint hostname, cookie scope and server forwarding are separate checks; the hostname does not establish consent.
- collection endpoint
- same originsubdomain
- In practice
How does first-party tracking work in practice?
First-party collection routes browser requests through an endpoint on your own domain. It can reduce some browser-side loss and gives you more control over the data path, but it does not bypass consent, blockers or browser privacy protections by default.
The visitor’s device still has to send the request. Safari also limits cookies set via third-party CNAME cloaking, so a first-party hostname and a server-set cookie do not ensure longer cookie lifetime. Test the actual collection path and cookie behavior rather than assuming the domain configuration removes those limits.
Not to be confused with
Not to be confused with Is not Is consent-free tracking a technical distinction about where data flows First-party tracking does not mean consent-free tracking, and setting cookies on your own domain does not remove the obligation to get consent before setting non-essential cookies or processing personal data — that obligation is based on what the cookie does and what data is collected, not which domain set it.
It’s also not automatically more accurate: a first-party setup that never receives the browser event in the first place, because a script was blocked, an ad blocker filtered it, or consent was denied, has nothing to forward, first-party or not. This is a technical distinction about where data flows, not a compliance strategy.
- Where to check
How to check
- ChromeApplicationCookies
- FirefoxStorageCookies
Check the collection endpoint in Network. For a page at https://www.example.com, https://www.example.com/metrics has the same origin; https://metrics.example.com is a subdomain with a different origin. Both examples use the same HTTPS site. Read the destination URL, not only the request Origin header.
In Chrome, open Application > Cookies; in Firefox, open Storage > Cookies. Compare the cookie domain with the top-level site, then inspect SameSite, expiry and any blocked-cookie explanation. The Domain field alone does not establish the cookie’s first-party context. Check Cookie and Set-Cookie headers on the actual request and response. A successful request to your hostname does not prove that the browser stored or sent the intended cookie.
Sources: Google: custom domain · MDN: cookies