amp tracking-plan
amp tracking-plan groups these commands. It uses the taxonomy:read and taxonomy:write scopes; each command lists the one it needs.
amp tracking-plan export
Requires authentication (amp auth login, --token, or AMP_TOKEN). Exports the tracking plan as CSV. Writes to --out by default; pass --out - to print CSV to stdout.
bash
amp tracking-plan export --project <project_id> --event "Signup Completed" --out plan.csv
| Flag | Type | Required | Description |
|---|---|---|---|
--project | string | Yes | Project identifier. Alias: --project-id. |
--branch-name | string | No | Optional branch name. Omit to export the default branch. |
--type | string: events, user_properties | No | Export type. Defaults to events. |
--event | string | No | Optional event-name filter for events exports. Repeat --event and/or pass --events-file. |
--events-file | string | No | Optional file path with one event name per line. Combined with --event. |
--include-deleted | boolean | No | Include deleted events or properties in the CSV. |
--out | string | Yes | Output path for the CSV file. Use - to print the CSV to stdout. |
Requires the taxonomy:read scope.
amp tracking-plan import
Imports a tracking-plan CSV into a new branch and reports per-type created/updated counts plus removed or unmapped counts from the API response.
bash
amp tracking-plan import --project <project_id> --file plan.csv
| Flag | Type | Required | Description |
|---|---|---|---|
--project | string | Yes | Project identifier. Alias: --project-id. |
--file | string | Yes | Path to the CSV file to upload. |
--branch-name | string | No | Optional branch name for the import. Must be unique in the project. |
Requires the taxonomy:write scope.
Was this helpful?
For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.