Firebase

Server-side event delivery to Firebase Analytics (Google Analytics for Firebase) for mobile and web app analytics.

⚠️

This integration is currently in beta. Configuration and behaviour may change.

Configuration

FieldTypeRequiredDescription
project_idstringYesYour Firebase project ID. Found in the Firebase console under Project Settings > General.
api_keysecretYesThe Web API key for your Firebase project. Found in Project Settings > General > Web API Key.
app_idstringYesThe Firebase App ID for the target app. Found in Project Settings > Your apps. Format varies by platform (web, iOS, Android).
measurement_idstringYesThe GA4 Measurement ID linked to this Firebase project. Found in the Firebase console under Analytics > Data Streams.

Quick Setup

  1. Navigate to Integrations in the sidebar.
  2. Open the Integration Library tab.
  3. Find Firebase or filter by Analytics.
  4. Click Install, select a variant if available, and fill in the required fields.
  5. Click Install Integration to create the integration with a ready-to-use default configuration.

API Setup

curl -X POST http://localhost:8084/v1/admin/integration-catalog/firebase/install \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Firebase",
    "variant": "default",
    "config": {
      "project_id": "my-app-project-123",
      "api_key": "your_api_key",
      "app_id": "1:1234567890:web:abc123def456"
    },
    "delivery_mode": "server_side"
  }'

Delivery

Events are delivered server-side from your Datafly Signal infrastructure directly to the Firebase API. No client-side scripts are loaded for this integration.

Visit Firebase documentation for full API documentation and credential setup instructions.