Mobile projects only
The Firebase A/B Testing integration is available for mobile project only
Smartlook helps you get deeper insights for your mobile project with Google Firebase A/B testing.
To integrate with Firebase:
- Set up your variations in Firebase as normal.
- Create an experiment. Be sure to take note of all the variation IDs.
setUserIdentifier block, add your IDs as custom properties:
Smartlook.setUserIdentifier("123456") val userProperties = UserProperties() .putEmail("[email protected]") .putName("John Doe") .put("variation_id", "A") Smartlook.setUserProperties(userProperties)
Smartlook.setUserIdentifier("123456") Smartlook.setSessionProperty(value: "[email protected]", forName: "email") Smartlook.setSessionProperty(value: "John Doe", forName: "name") Smartlook.setSessionProperty(value: "A", forName: "variation_id")
For more information on mobile SDKs, see the Smartlook mobile SDK documentation.
You can also group A/B testing sessions with specific parameters, based on experiment and variation, and save them as filters. These can then be used in Smartlook.
Updated 7 months ago