Firebase
The Firebase integration is a bi-directional integration that enables the automatic tracking of events from Firebase to Taplytics and the ability to push Experiment and Feature Flag data from Taplytics back into the Firebase iOS SDK.
Firebase to Taplytics
The Firebase integration allows you to leverage the same client-side events being sent from your App for Goal Creation on the Taplytics platform. These events will automatically flow into Taplytics and will be visible in the Code Event dropdown. For more information on goal creation, please see here.
Taplytics to Firebase
The Taplytics SDK can automatically push Experiment and Feature Flag data back to your Firebase instance so that you may continue reporting on your desired analytics platform.
To enable this feature, turn on the Firebase toggle in the Push Experiments to Analytics Sources section located at the bottom of the Settings page.
iOS
Taplytics logs experiment/variation events to the Firebase iOS SDK as follows:
NSDictionary* experimentsAndVariations = @{
@"Experiment 1": @"Variation 1",
@"Experiment 2": @"baseline"
};
[FIRAnalytics logEventWithName:@"TL_Experiments" parameters:experimentsAndVariations];
let experimentsAndVariations = [
"Experiment 1": "Variation 1",
"Experiment 2": "baseline"
]
FIRAnalytics.logEvent(withName: "TL_Experiments", parameters: experimentsAndVariations)
Updated almost 4 years ago