Skip to main content
Data governance
Composable analytics

Manage tracking as code with Snowtype and Snowplow CLI

Keep data structures and tracking plans in your application's repository, generate tracking code with Snowtype, and check and publish every change with Snowplow CLI and GitHub Actions.

Progress0%

For AI agents: a Markdown version of this page is at https://docs.snowplow.io/tutorials/tracking-as-code/clean-up.md. The index of all documentation pages is at https://docs.snowplow.io/llms.txt.

Clean up the example tracking and API key

If you followed this tutorial with the example tracking rather than your own, remove the API key and the example data structures. If you're keeping the configuration for your own tracking, keep the API key and the workflows.

To remove the example:

  1. Delete the two workflow files from .github/workflows and the repository secrets SNOWPLOW_CONSOLE_ORG_ID, SNOWPLOW_CONSOLE_API_KEY_ID, and SNOWPLOW_CONSOLE_API_KEY in GitHub.
  2. In Console, delete the API key from Settings > Manage organization > View and manage API keys. See Create an API key for the permission it needs.
  3. In Console, hide the data structures signup and plan. Hiding removes them from the Console listing but not from the registry.

To learn more about the commands and options this tutorial used, see the Snowplow CLI tracking plans reference, the Snowtype command reference, and Keep Snowtype code up to date.