SoluteClient
The main client class for the Solute SDK. Create an instance to start tracking events and using feature flags.Constructor
Configuration object for the SDK. See Configuration for all options.
Example
Methods
Event Tracking
Track a custom event. See Event Tracking Methods.
Identify a user. See Event Tracking Methods.
Track a page view. See Event Tracking Methods.
Associate a user with a group. See Event Tracking Methods.
Alias user identities. See Event Tracking Methods.
Feature Flags
Get a feature flag value. See Feature Flag Methods.
Check if a feature is enabled. See Feature Flag Methods.
Get an experiment variant. See Feature Flag Methods.
Get all feature flags. See Feature Flag Methods.
Reload feature flags from the server. See Feature Flag Methods.
User Management
Get the current user ID. See User Management Methods.
Get the anonymous ID. See User Management Methods.
Get the current session ID. See User Management Methods.
Reset user identity and start a new session. See User Management Methods.
Utilities
Flush all queued events immediately. See Event Tracking Methods.
