Skip to content

fix(docs): purge analytics cookies on reject and fix storefront font stack - #1016

Merged
shtse8 merged 2 commits into
mainfrom
fix/consent-withdrawal-cookie-purge
Nov 15, 2026
Merged

shtse8 merged 2 commits into
mainfrom
fix/consent-withdrawal-cookie-purge

Conversation

@shtse8

@shtse8 shtse8 commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Expire all _ga, _ga_*, _gid, and _gat* cookies across /, /anymd, /anymd/, current paths, and host/domain variants (plus set window['ga-disable-<id>'] = true) when consent is withdrawn (Reject / none), when stored consent is none on load, or when analytics are disabled across VitePress (/, /pro) and storefront (/pricing, /recover) pages.
  • Define --keel-font-ui: var(--sf-sans) and --keel-asset-font-ui: var(--sf-sans) in scripts/storefront.css (and set font-family: var(--sf-sans) on html) and refresh prebuilt pricing.html / recover.html + prebuilt.json so computed styles resolve without __keel_absent_alias_ui.
  • Add regression tests covering simulated .sylphxai.github.io / path cookie purging on Reject and initial none load, plus storefront CSS font variable overrides.

Test plan

  • python3 -m unittest discover -s scripts -p 'test_*.py' -v (69/69 passed)
  • python3 scripts/storefront_artifact.py verify . cad61baf67606dc9845ce168b60361addf763706
  • Local headless Chromium verification on pricing.html and recover.html: Accept all -> _ga & _ga_R4TD2Z8RR7 created -> Reject -> cookies cleared (count: 0); 0 DOM elements resolving __keel_absent_alias_ui
  • GitHub Actions CI (ci-ok, suite / verified, Plain language, security:secrets)

@shtse8
shtse8 added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit f538e71 Nov 15, 2026
22 checks passed
@shtse8
shtse8 deleted the fix/consent-withdrawal-cookie-purge branch November 15, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant