Privacy Policy
Last updated: October 2026
This site (privacy.sw.foundation) is the documentation site for the open-source @structured-world/vue-privacy library, operated by structured.world.
What We Collect
Analytics (with consent)
When you allow analytics, we use Google Analytics 4 (GA4) to understand how visitors use our documentation. Until then the site loads nothing from Google and sends it nothing (the library's basic mode); withdrawing switches it off again and deletes its cookies. With your consent, GA4 receives:
- Pages visited and time spent
- Referral source (how you found us)
- Browser type, screen size, and operating system
- Country (approximate, from IP)
We do not collect personal information such as names, email addresses, or precise location.
Consent Preferences
Your consent choice is stored in your browser, in the consent_preferences cookie (365 days), so the site remembers it across visits. Like any cookie of this site, your browser sends it along with each request to the site's host (GitHub Pages); the site keeps no copy of it on any server of its own. The site does not look up your location: every visitor is asked.
Before October 2026 the site was set to keep a copy of a grant in a Cloudflare KV store, named by an anonymous consent_uid cookie. The site no longer writes there, and it neither reads nor sets consent_uid. A copy written earlier stays in the store until its 365-day retention runs out, and a cookie set earlier stays in your browser until it expires (365 days after it was set) or you delete it.
Cookies Used
| Cookie | Purpose | Duration | Category |
|---|---|---|---|
consent_preferences | Stores your consent choices, when you made them, whether you made them where consent is required (no location), and a random ID of that choice (not of you) that tells it apart from one made in another tab at the same moment | 365 days | Necessary |
consent_uid | Only if set before October 2026: an anonymous ID for the remote copy of a grant, no longer read or set | Up to 365 days from when it was set | Necessary |
_ga, _ga_* | Google Analytics tracking | 2 years | Analytics |
Your Rights
You can:
- Change preferences at any time using the cookie settings button
- Reject all non-essential cookies — the site works fully without them
- Clear cookies in your browser settings
Third-Party Services
- GitHub Pages hosts the site and, like any web host, receives your IP address with each request: GitHub Privacy Statement
- Google Analytics, only after you allow analytics: Google Privacy Policy
Contact
For privacy questions: GitHub Issues
Open Source
This privacy policy is part of the vue-privacy documentation. The consent implementation itself is open source and available on GitHub.