Provider env var placeholders
Write only these placeholder names, with an empty or obviously-fake value,
into .env.example (or the target's equivalent) — never a real key, and
never into a live .env/.env.local file. Prefix with NEXT_PUBLIC_ for a
Next.js target (these are read client-side); no prefix needed for Angular
(read via environment.ts) or a vanilla Node target (read via
process.env server-side).
| Provider | Env var (Next.js) | Env var (Angular / vanilla) | Config field | Notes |
|---|---|---|---|---|
| Segment | NEXT_PUBLIC_SEGMENT_WRITE_KEY | SEGMENT_WRITE_KEY | writeKey | Also needs a caller-supplied analytics/analytics-node client instance (client: field) — not just a key. This skill does not create that client module. |
| LaunchDarkly | NEXT_PUBLIC_LD_CLIENT_ID | LD_CLIENT_ID | clientSideId | Client-side SDK key, not the server-side SDK key — do not confuse the two. |
| FullStory | NEXT_PUBLIC_FULLSTORY_ORG_ID | FULLSTORY_ORG_ID | orgId | Org ID only; FullStory has no separate write-key concept for this integration. |
Example .env.example block (only the rows for providers actually
selected in step 2):
NEXT_PUBLIC_SEGMENT_WRITE_KEY=
NEXT_PUBLIC_LD_CLIENT_ID=
NEXT_PUBLIC_FULLSTORY_ORG_ID=