- Remove Astro DB (no longer needed for consent logging) - Change from SSR to static output mode - Add TrackingScripts.astro with GA4, GTM, Umami, Clarity, FB Pixel, Google Ads, TikTok, LINE - Use ConsentOS consent-loader.js for auto-blocking tracking scripts - Update Dockerfile to nginx static hosting - Remove old consent template (custom consent no longer needed) - Update SKILL.md, AGENTS.md, README.md documentation - Add nginx.conf for static hosting
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# Astro + Tina CMS Environment Variables
|
|
|
|
# Site URL
|
|
PUBLIC_SITE_URL=https://your-domain.com
|
|
|
|
# Tina CMS (optional - for production Tina admin)
|
|
TINA_TOKEN=your-tina-token-from-tina-cloud
|
|
TINA_CLIENT_ID=your-client-id
|
|
|
|
# ConsentOS - Consent Management (moreminimore.com)
|
|
PUBLIC_CONSENT_SITE_ID=your-consent-site-id
|
|
PUBLIC_CONSENT_API_BASE=https://consent.moreminimore.com
|
|
|
|
# ===== TRACKING SCRIPTS =====
|
|
# All tracking scripts are blocked by ConsentOS until user gives consent
|
|
|
|
# --- Analytics ---
|
|
# Google Analytics 4
|
|
PUBLIC_GA4_ID=G-XXXXXXXXXX
|
|
|
|
# Google Tag Manager
|
|
PUBLIC_GTM_ID=GTM-XXXXXXX
|
|
|
|
# Umami (self-hosted analytics)
|
|
PUBLIC_UMAMI_URL=https://umami.example.com
|
|
PUBLIC_UMAMI_WEBSITE_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
|
|
|
# Microsoft Clarity (heatmaps)
|
|
PUBLIC_CLARITY_ID=xxxxxxxxxx
|
|
|
|
# --- Marketing / Advertising ---
|
|
# Facebook Pixel
|
|
PUBLIC_FB_PIXEL_ID=123456789
|
|
|
|
# Google Ads Conversion
|
|
PUBLIC_GOOGLE_ADS_ID=AW-123456789
|
|
|
|
# TikTok Pixel
|
|
PUBLIC_TIKTOK_PIXEL_ID=XXXXXXXX
|
|
|
|
# LINE Channel Tag (Thailand)
|
|
PUBLIC_LINE_CHANNEL_ID=1234567890
|