Skip to main content

For AI agents: a Markdown version of this page is at https://docs.snowplow.io/docs/sources/rust-tracker.md. The index of all documentation pages is at https://docs.snowplow.io/llms.txt, and the index for this section is at https://docs.snowplow.io/docs/cdi/llms.txt.

Rust tracker SDK

Early release

Feature support Compare trackers

  • Supported: Page or screen views (Screen)
  • Not supported: Activity tracking
  • Not supported: Built-in entities
  • Not supported: Anonymous tracking
  • Not supported: Media
  • Not supported: Ecommerce
  • Not supported: Consent
  • Not supported: Snowtype

The Snowplow Rust Tracker allows you to add analytics to your Rust apps.

The tracker is published on crates.io as snowplow_tracker.

Migration from 0.1.0

If you are upgrading from 0.1.0 to 0.2.0, there are a couple of changes required to make to your code:

  • Tracker.track is no longer an async function
  • The Emitter must be safely closed to allow the tracker to drop, as it spawns a thread to send events. This can be done by calling Tracker.close_emitter().

Was this page helpful?