TelemetryDeck Client
Client for integrating private analytics in fast and reliable libraries and apps using Rust and WebAssembly
The library provides a wrapper around the TelemetryDeck endpoint for broadcasting signals.
Sending a signal
let client = new;
// Signal a type and a user identifier
client.send;
// Signal with custom payload parameters
client.send;
Session identifier
When an instance of TelemetryDeck
is created, it is assigned a session identifier. This identifier persists for all outgoing signals during the lifetime of the instance.
You can reset the session identifier without recreating the client:
client.reset_session
You can also provide your own session identifier:
client.reset_session;
Check the example folder for a working app using Yew.
Disclaimer
This repository is not affiliated with TelemetryDeck.