Developer Guide
With a single SDK integration, you can use all the features provided by Hackle.
// SDK initialization
const hackleClient = Hackle.createInstance("YOUR_SDK_KEY");
// A/B test variation distribution
const variation = hackleClient.variation(EXPERIMENT_KEY, userId);
if (variation === "A") {
// Group A
} else if (variation === "B") {
// Group B
}Have questions?
Feel free to ask anything during the integration process in the Hackle Slack Community.
Last updated