Short answer
First-party cookies are small files your own website saves in the visitor's browser. Tracking uses them to remember a visitor and their ad click. Browsers trust them more than third-party cookies, but some still delete them early.
How it works
When a visitor lands from an ad, your tags save IDs like _ga, _gcl_aw or _fbc in first-party cookies. When they buy days later, those IDs connect the sale back to the visit and the ad.
Why they disappear
- Safari can delete cookies set by JavaScript after 7 days, or sooner after some ad clicks.
- Visitors clear cookies or browse privately.
- Cookie consent blocks them until the visitor agrees.
How server-side tracking helps
- A server on your own subdomain can set cookies from the server, not JavaScript.
- Those cookies usually last longer, so returning buyers are still matched.
- Consent still decides whether they may be set.
How to check it
- Open your site, then the browser's developer tools → Application → Cookies.
- Look at the expiry date of
_gaand_fbp. - Repeat in Safari. Short expiry dates mean you're losing returning buyers.
Questions
Are first-party cookies going away?
No. Third-party cookies are the ones being limited. First-party cookies remain the base of tracking.
Do first-party cookies need consent?
Tracking and advertising cookies usually do, depending on where your visitors are.