Skip to main content

Module Constants

Module Constants 

Source
Expand description

Build-time PostHog credentials baked from .env.Land.PostHog via cargo:rustc-env. env! always resolves at compile time so even a clean checkout builds without a populated .env.

Constants§

POSTHOG_API_KEY
PostHog project token (Authorize in .env.Land.PostHog).
POSTHOG_DISTINCT_ID_SEED
Optional pinned distinct-id seed (Brand). Empty → auto-generate per process; populated → pinned across every process in the same dev run for cross-restart correlation.
POSTHOG_ENABLED
Per-tier enable flag (Report). String-comparison gate avoids forking the binary per env value.
POSTHOG_HOST
PostHog ingestion host (Beam). Defaults to EU Cloud; operators override per environment.