User Identifier & Properties
Using the Device Identifier Managed Internally by the SDK
Using a Custom Identifier
Client-side SDK
Using the Device Identifier Managed Internally by the SDK
// Variation distribution
const experimentKey = 42
const variation = hackleClient.variation(experimentKey)
// Event tracking
hackleClient.track("purchase")
// Get the internally managed device identifier
const userId = Hackle.getUserId()Using a Custom Identifier
Server-side SDK
Example: Creating a Custom Identifier
Matching Identifiers Between Client and Server
Property
Property Key
Property Value
Example
Last updated