Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Analytics with Firebase

I am trying to integrate Google Analytics in my iOS app. On Analytics page, Google is recommending to download (this link) with Cocoapods where library comes with Firebase.

My question is that why Google is providing Firebase with Goole analytics & what are the benefits using Google Analytics with Firebase?

Can I only download the Google Analytics SDK & it will serve the same features?

like image 475
Gagan_iOS Avatar asked Sep 23 '16 11:09

Gagan_iOS


People also ask

Does Google Analytics use Firebase?

At the heart of Firebase is Google Analytics, an unlimited analytics solution available at no charge. Analytics integrates across Firebase features and provides you with unlimited reporting for up to 500 distinct events that you can define using the Firebase SDK.

Should I use Google Analytics or Firebase Analytics?

Firebase uses an event-based data model, which results in reporting differences compared to those in Google Analytics. Unlike Google Analytics which has many screenview- and session-oriented reports, in Firebase all reports are user- or event-focused.


2 Answers

Fun fact: you can use pod GoogleAnalytics instead (note the missing /) if you wish to install the Google Analytics pod without all the extra Google/Firebase guff.

like image 71
Thomas Verbeek Avatar answered Nov 03 '22 06:11

Thomas Verbeek


Its certainly OTT that one cocoapod

pod 'Google/Analytics'

Installs all of these:

Installing FirebaseAnalytics (3.6.0)
Installing FirebaseCore (3.4.5)
Installing FirebaseInstanceID (1.0.8)
Installing Google (3.0.3)
Installing GoogleAnalytics (3.17.0)
Installing GoogleInterchangeUtilities (1.2.2)
Installing GoogleSymbolUtilities (1.1.2)
Installing GoogleToolboxForMac (2.1.0)

ToolboxForMac? Firebase? I just want a lightweight Analytics solution. Its all still in Objective-C too!

Crashlytics, here I come.

like image 32
Fraser Avatar answered Nov 03 '22 04:11

Fraser