Skip to content

Add Studio legal pages and handle GA4 consent withdrawal - #19

Merged
koculu merged 2 commits into
mainfrom
legal-obligations
Oct 7, 2026
Merged

koculu merged 2 commits into
mainfrom
legal-obligations

Conversation

@koculu

@koculu koculu commented Oct 7, 2026

Copy link
Copy Markdown
Member

Summary

Add Studio legal pages and handle GA4 consent withdrawal

Changes

Add Imprint and Privacy Policy pages that import Git-ignored legal content. Frontend initialization creates missing placeholders while preserving existing files, including during concurrent initialization. Document how to supply legal content before publishing.

  • Add legal links to site footers and the consent configuration.
  • Fix header and footer links to reach homepage sections from other pages.
  • Disable GA4 on the Studio site and update the consent policy version.
  • Set GA4’s collection-disable flag when consent is withdrawn, including after the tracker has loaded; update the generated consent embed.
  • Include frontend tests in Vitest discovery and remove the unused vite-tsconfig-paths import.

Added regression coverage for legal-file initialization and GA4 consent rejection, withdrawal, restoration, and policy changes.

@koculu
koculu merged commit 259fdfb into main Oct 7, 2026
2 checks passed
@koculu
koculu deleted the legal-obligations branch October 7, 2026 16:48
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