Glossary: First Party Cookie
A cookie set directly by the website a visitor is on, rather than by a third-party domain.
A first party cookie is set directly by the website a visitor is browsing, using that site’s own domain. First party cookies are generally more trusted by browsers and less restricted than third party cookies, since they’re tied to a direct relationship between the visitor and the site.
Examples
A site sets a first party cookie to remember a visitor’s language preference.
An analytics tool uses first party cookies to reduce the chance of being blocked by browser privacy settings.
A login session is maintained using a first party cookie.
First-party cookies in crypto apps
A wallet address only appears after a visitor connects. Before that, a first-party cookie is the main way to recognize the same browser across pages and visits. It lets an analytics tool link the campaign click, the docs visit and the later wallet connect to one visitor. Wallet in-app browsers keep their own cookie storage, so a visit there usually starts as a new visitor.
Example
A visitor reads a launch post on example.com, comes back two days later and connects a wallet on app.example.com. A first-party cookie set on the root domain keeps one anonymous ID across both subdomains and both days, so the wallet connect and the earlier visit belong to the same visitor.
How Formo uses first-party cookies
Formo identifies each visitor with a random anonymous ID stored in a first-party cookie. By default the cookie is set on your root domain, so your site and app share one visitor; set crossSubdomainCookies to false to scope it to one hostname. Formo does not set third-party cookies or use device fingerprinting. When two wallets connect from the same browser, they share the anonymous ID, and Formo lists them as Linked Addresses.
Related reading
Explore Cookie, Third Party Cookie, Cookieless Analytics, and PII (Personally Identifiable Information).
FAQs
Are first party cookies affected by browser privacy restrictions?
Less than third party cookies, though some browsers still limit their lifespan or scope.
Why do analytics tools prefer first party cookies?
They’re more resilient to ad blockers and browser restrictions than third party cookies.
Are first party cookies enough to avoid privacy regulation?
No. First party cookies can still qualify as personal data and require disclosure or consent under laws like GDPR.
What first-party cookie does Formo set?
Formo stores a random anonymous ID in a first-party cookie to recognize returning visitors. By default it is set on the root domain, so subdomains share one visitor. Formo does not set third-party cookies.
The data platform onchain apps
Get actionable analytics and attribution for crypto and DeFi.
Stay up to date with weekly product updates and the latest industry insights.
Platform