Skip to main content

A/B Testing

Setup A/B Testing

Learn how to set up A/B testing in your by following the A/B Testing guide.

Retrieve A/B Testing Ids

After configuring an A/B test in your GameAnalytics dashboard you can retrive the testing ids with the following methods:

// A/B testing id
string abTestingId = GameAnalytics.GetABTestingId();

// A/B testing variant id
string abTestingVariantId = GameAnalytics.GetABTestingVariantId();
info

Remember that the A/B testing ids are first available when the Remote Configs are ready.