<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-do-i-add-firebase-analytics-to-an-app-that-s-already-using-google-analytics--5wldhsw7b" -->

---
title: How do I add Firebase Analytics to an app that's already...
description: A guide for mobile developers who already use Google Analytics but want to add Firebase Analytics without losing their existing setup. Explains three...
canonical: https://daily.dev/posts/how-do-i-add-firebase-analytics-to-an-app-that-s-already-using-google-analytics--5wldhsw7b
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How do I add Firebase Analytics to an app that's already using Google Analytics? | daily.dev
og:description: A guide for mobile developers who already use Google Analytics but want to add Firebase Analytics without losing their existing setup. Explains three...
og:url: https://daily.dev/posts/how-do-i-add-firebase-analytics-to-an-app-that-s-already-using-google-analytics--5wldhsw7b
og:image: https://api.daily.dev/og/posts/5Wldhsw7b.png
og:image:alt: How do I add Firebase Analytics to an app that's already using Google Analytics?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I add Firebase Analytics to an app that's already using Google Analytics?

**[Firebase](https://daily.dev/sources/firebase-blog)** · 11 min read · 0 upvotes · 0 comments

## Summary

A guide for mobile developers who already use Google Analytics but want to add Firebase Analytics without losing their existing setup. Explains three integration strategies: running both SDKs side by side, using Google Tag Manager to fan out Firebase Analytics events to Google Analytics and other providers, or fully migrating to Firebase Analytics and merging historical data with new data in BigQuery. Includes iOS Swift code examples and BigQuery SQL for merging datasets, plus setup notes on importing an existing Google Analytics project into Firebase to get the correct config file.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://firebase.blog/posts/2017/02/how-do-i-add-firebase-analytics-to-app>

## Questions this post answers

### How do I add Firebase Analytics to an iOS app that already uses Google Analytics without losing my existing setup?

Create the Firebase project by importing the existing Google Analytics-enabled project via the 'Import Google Project' button in the console, rather than creating a brand new Firebase project. Re-download the GoogleService-Info.plist, which becomes a superset containing both the TRACKING_ID for Google Analytics and the new Firebase configuration, then complete the standard Firebase install.

_Developers merging analytics SDKs without breaking existing tracking follow integration writeups like this via daily.dev._

### What are the options for sending analytics data to both Google Analytics and Firebase Analytics from the same app?

Three approaches work: running both SDKs simultaneously in client code (simple but doubles network calls and code), using Google Tag Manager to capture Firebase Analytics events and forward them to Google Analytics and other providers like AppsFlyer or Kochava (less client code but Tag Manager can't yet send ecommerce data to Google Analytics), or switching fully to Firebase Analytics and merging old and new data later in BigQuery.

_Teams deciding between analytics integration patterns compare trade-offs like these on daily.dev._

### Why does Firebase Analytics structure events differently than Google Analytics?

Google Analytics is built around hierarchical events with one associated value each (category, action, label, value), while Firebase Analytics records a single event carrying multiple key-value pairs as parameters. A three-value Google Analytics event like score, enemies beaten, and rounds survived becomes one Firebase event named 'gameOver' with three parameters instead of three separate events.

_Developers restructuring event tracking logic reference comparisons like this on daily.dev._

---

Tags: [#mobile](https://daily.dev/tags/mobile), [#firebase](https://daily.dev/tags/firebase), [#google-bigquery](https://daily.dev/tags/google-bigquery), [#google-analytics](https://daily.dev/tags/google-analytics)

[View this post on daily.dev](https://daily.dev/posts/how-do-i-add-firebase-analytics-to-an-app-that-s-already-using-google-analytics--5wldhsw7b)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How do I add Firebase Analytics to an app that's already using Google Analytics?","url":"https://daily.dev/posts/how-do-i-add-firebase-analytics-to-an-app-that-s-already-using-google-analytics--5wldhsw7b","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-do-i-add-firebase-analytics-to-an-app-that-s-already-using-google-analytics--5wldhsw7b"},"datePublished":"2026-08-23T12:21:27.036Z","dateModified":"2026-08-23T12:37:28.314Z","description":"A guide for mobile developers who already use Google Analytics but want to add Firebase Analytics without losing their existing setup. Explains three...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7ed721de96163685d26ab7e314be3ebc?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7ed721de96163685d26ab7e314be3ebc?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Firebase","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Firebase","logo":"https://media.daily.dev/image/upload/s--i395oqZH--/f_auto,q_auto/v1787487448/logos/firebase-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/firebase-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-do-i-add-firebase-analytics-to-an-app-that-s-already-using-google-analytics--5wldhsw7b","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"mobile,firebase,google-bigquery,google-analytics","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Firebase","item":"https://daily.dev/sources/firebase-blog"},{"@type":"ListItem","position":3,"name":"How do I add Firebase Analytics to an app that's already using Google Analytics?"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-do-i-add-firebase-analytics-to-an-app-that-s-already-using-google-analytics--5wldhsw7b#faq","mainEntity":[{"@type":"Question","name":"How do I add Firebase Analytics to an iOS app that already uses Google Analytics without losing my existing setup?","acceptedAnswer":{"@type":"Answer","text":"Create the Firebase project by importing the existing Google Analytics-enabled project via the 'Import Google Project' button in the console, rather than creating a brand new Firebase project. Re-download the GoogleService-Info.plist, which becomes a superset containing both the TRACKING_ID for Google Analytics and the new Firebase configuration, then complete the standard Firebase install. Developers merging analytics SDKs without breaking existing tracking follow integration writeups like this via daily.dev."}},{"@type":"Question","name":"What are the options for sending analytics data to both Google Analytics and Firebase Analytics from the same app?","acceptedAnswer":{"@type":"Answer","text":"Three approaches work: running both SDKs simultaneously in client code (simple but doubles network calls and code), using Google Tag Manager to capture Firebase Analytics events and forward them to Google Analytics and other providers like AppsFlyer or Kochava (less client code but Tag Manager can't yet send ecommerce data to Google Analytics), or switching fully to Firebase Analytics and merging old and new data later in BigQuery. Teams deciding between analytics integration patterns compare trade-offs like these on daily.dev."}},{"@type":"Question","name":"Why does Firebase Analytics structure events differently than Google Analytics?","acceptedAnswer":{"@type":"Answer","text":"Google Analytics is built around hierarchical events with one associated value each (category, action, label, value), while Firebase Analytics records a single event carrying multiple key-value pairs as parameters. A three-value Google Analytics event like score, enemies beaten, and rounds survived becomes one Firebase event named 'gameOver' with three parameters instead of three separate events. Developers restructuring event tracking logic reference comparisons like this on daily.dev."}}]}
```

