What is RudderStack?
RudderStack is a customer data pipeline tool for collecting, routing and processing data from your websites, apps, cloud tools, and data warehouse.
With RudderStack, you can build customer data pipelines that connect your whole customer data stack and then make them smarter by triggering enrichment and activation in customer tools based on analysis in your data warehouse. Its easy-to-use SDKs and event source integrations, Cloud Extract integrations, transformations, and expansive library of destination and warehouse integrations makes building customer data pipelines for both event streaming and cloud-to-warehouse ELT simple.
Try RudderStack Cloud Free - a no time limit, no credit card required, completely free tier of RudderStack Cloud. Click here to start building a smarter customer data pipeline today, with RudderStack Cloud Free. |
---|
Questions? Please join our Slack channel or read about us on Product Hunt.
Integrating Firebase with the RudderStack iOS SDK
NOTE:
Rudder-Firebase
version3.1.1
is compatible with theFirebaseAnalytics
version10.3.0
.
-
Add Firebase as a destination in the RudderStack dashboard.
-
Rudder-Firebase is available through CocoaPods. To install it, add the following line to your Podfile and followed by
pod install
:
pod 'Rudder-Firebase', '~> 3.1.1'
- Download the
GoogleService-Info.plist
from your Firebase console and put it in your project.
RudderClient
Initializing Put this code in your AppDelegate.m
file under the method didFinishLaunchingWithOptions
RSConfigBuilder *builder = [[RSConfigBuilder alloc] init];
[builder withDataPlaneUrl:DATA_PLANE_URL];
[builder withFactory:[RudderFirebaseFactory instance]];
[builder withLoglevel:RSLogLevelDebug];
[RSClient getInstance:WRITE_KEY config:[builder build]];
Setup the sample iOS app
- Make a copy of the
SampleRudderConfig.plist
into the RudderConfig directory and rename it toRudderConfig.plist
. - Fill the required details e.g.,
WRITE_KEY
andPROD_DATA_PLANE_URL
. - Start sending the events
Sending Events
Follow the steps from the RudderStack iOS SDK repo.
Contact Us
If you come across any issues while configuring or using this integration, please feel free to start a conversation on our Slack channel. We will be happy to help you.