Smartlook helps you get deeper insights when A/B testing with Firebase.

Simply set up your variations within Firebase as normal, create an experiment, and take note of all the variation IDs.

To locate the IDs, see Android and iOS configuration for more information.

Within your setUserIdentifier block, add your IDs as custom properties:

Android example:

Smartlook.setUserIdentifier("123456")

val userProperties = UserProperties()
.putEmail("johndoe@smartlook.com")
.putName("John Doe")
.put("variation_id", "A")

Smartlook.setUserProperties(userProperties)

iOS example:

Smartlook.setUserIdentifier("123456")
Smartlook.setSessionProperty(value: "johndoe@smartlook.com", forName: "email")
Smartlook.setSessionProperty(value: "John Doe", forName: "name")
Smartlook.setSessionProperty(value: "A", forName: "variation_id")

For a more comprehensive breakdown of how the ID identify works in Smartlook, be sure to read over our documentation for Android and iOS.

You can also group A/B testing sessions with specific parameters, based on experiment and variation, saving them as filters. These can then be used in our Smartlook features, for example in Funnel and Event.

Did this answer your question?