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.

Questions? Please join our Slack channel or read about us on Product Hunt.

Integrating Firebase with the RudderStack Flutter SDK

  1. Add Firebase as a destination in the RudderStack dashboard.

  2. Open pubspec.yaml and add rudder_integration_firebase_flutter under dependencies section:

dependencies:
  rudder_integration_firebase_flutter: ^1.0.0
  1. Navigate to your Application's root folder and install all the required dependencies with:
flutter pub get
  1. Import the module you added above and add it to your SDK initialization code as shown below:
import 'package:rudder_sdk_flutter/RudderController.dart';
import 'package:rudder_sdk_flutter_platform_interface/platform.dart';
import 'package:rudder_integration_firebase_flutter/rudder_integration_firebase_flutter.dart';

RudderConfigBuilder builder = RudderConfigBuilder();
builder.withDataPlaneUrl(DATA_PLANE_URL);
builder.withFactory(RudderIntegrationFirebaseFlutter());
final RudderController rudderClient = RudderController.instance;
rudderClient.initialize(WRITE_KEY,
    config: builder.build(), options:null);

Sending Events

Follow the steps from our RudderStack Flutter 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.