Segment — event collection
segment/analytics · version 1
envs add segment/analytics
This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.
| Key | Needed | Kind | Notes |
|---|---|---|---|
SEGMENT_WRITE_KEY |
required | config | Segment never says whether this may be exposed, unlike Mixpanel and Amplitude, which both say so plainly. It is public here because Segment's own installation snippet goes in the page head, so a working install publishes it. The name is convention.. where to get it |
SEGMENT_ACCESS_TOKEN |
optional | secret | For the Config and Public APIs, and workspace-wide. Segment says it cannot be retrieved later and should go in a secret manager. The name is convention.. where to get it |