Privacy Policy
How this site handles data, cookies, and privacy.
Last updated: August 16, 2026
This privacy policy explains how grant-dai.com, a personal blog operated by Grant Dai (Yanze Dai), handles information about visitors.
Google Analytics
With your consent, this site uses Google Analytics 4, provided by Google LLC, to understand how visitors use the site and to improve its content. Google Analytics may process information such as pages visited, page titles, visit times, referrers, approximate location, browser and device information, and a randomly generated client identifier. This site does not send your name, email address, or a site account identifier to Google Analytics.
The Google Analytics tag is blocked until you select Accept analytics. If you decline or make no choice, no Google Analytics tag loads and no analytics data is sent to Google. Advertising signals and ad personalization are disabled.
Where consent is required by applicable law, consent is the legal basis for this processing. You can withdraw or grant consent at any time through Analytics settings in the footer. Withdrawing consent stops future collection and removes Google Analytics cookies accessible to this site.
Learn more in Google's Privacy Policy and Google's information about data safeguards.
Cookies and local storage
After you accept analytics, Google Analytics may set these first-party cookies:
| Name | Purpose | Default duration |
|---|---|---|
_ga | Distinguishes visitors | 2 years |
_ga_<measurement-id> | Maintains session state | 2 years |
This site stores your analytics choice and its date in your browser's local storage for up to 180 days. This strictly necessary preference prevents the consent notice from appearing on every visit. It is not used for analytics or advertising.
Retention and recipients
The Google Analytics property is intended to use the shortest available user-level event-data retention period: 2 months. Aggregated reports may be retained longer. Google processes analytics data as this site's service provider and may process it in countries outside your own, subject to Google's contractual and legal transfer safeguards.
Other services and external links
- Cloudflare hosts and protects this site and provides cookie-free Web Analytics. Its browser beacon collects page-load performance and navigation metrics. Cloudflare states that this service does not use cookies or track individual visitors across sites. It runs independently from the Google Analytics consent setting. See Cloudflare Web Analytics data collection.
- Substack, GitHub, and other external sites are reached only when you follow a link. Their own privacy policies apply after you leave this site.
Your choices and rights
You may decline analytics without losing access to the site. Depending on where you live, you may also have rights to request access to, correction of, deletion of, or restriction on personal data, or to object or complain to a data protection authority. Because analytics identifiers are pseudonymous, information may be needed to identify data connected with a request.
Contact
Questions or privacy requests: contact@grant-dai.com.
This policy may change when this site's services or legal obligations change. Its latest revision date appears above.