feat: add privacy policy; wire GA4 and Umami at build time
CI / ci (push) Successful in 2m13s

- /privacy/ page covering the contact form (Formspree), Umami, GA4 and
  server logs; linked from the footer
- Analytics.astro: GA4 alongside Umami, both limited to the production
  host so staging and local builds are not counted
- Dockerfile ARGs + CI build args from repo Actions variables
  GA_MEASUREMENT_ID and UMAMI_WEBSITE_ID (non-secret)
This commit is contained in:
bmr_bluecap committed 2026-10-23 13:49:56 -04:00
1 parent 375ee48ab1
commit 0c2b4a6ac6
7 files changed
+154 -8

No files matched your search

+3 -1
View File
@@ -1,7 +1,9 @@
PUBLIC_SITE_URL=https://www.bluecapstrategies.com
PUBLIC_CONTACT_FORM_ENDPOINT=
# Analytics — side-by-side trial (ADR-0005). Leave blank to disable each.
# Analytics — leave blank to disable each. Production values come from CI (Dockerfile ARGs).
# Google Analytics 4:
PUBLIC_GA_MEASUREMENT_ID=
# PostHog (Cloud free tier recommended for the trial):
PUBLIC_POSTHOG_KEY=
PUBLIC_POSTHOG_HOST=https://us.i.posthog.com