feat: update website-creator to static mode with ConsentOS + tracking scripts
- 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
This commit is contained in:
@@ -7,11 +7,36 @@ PUBLIC_SITE_URL=https://your-domain.com
|
||||
TINA_TOKEN=your-tina-token-from-tina-cloud
|
||||
TINA_CLIENT_ID=your-client-id
|
||||
|
||||
# Astro DB - Persistent Storage
|
||||
# IMPORTANT: Set OUT_DIR to /data for Docker/Easypanel persistent volume
|
||||
# This ensures database persists across redeployments
|
||||
OUT_DIR=/data
|
||||
# ConsentOS - Consent Management (moreminimore.com)
|
||||
PUBLIC_CONSENT_SITE_ID=your-consent-site-id
|
||||
PUBLIC_CONSENT_API_BASE=https://consent.moreminimore.com
|
||||
|
||||
# Optional: External Turso database (if using external DB instead of local SQLite)
|
||||
# TURSO_DATABASE_URL=libsql://your-db.turso.io
|
||||
# TURSO_AUTH_TOKEN=your-auth-token
|
||||
# ===== 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
|
||||
|
||||
Reference in New Issue
Block a user