Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
React Native Analytics Analysis

||_____||_____| |Metric|Google Analytics|Firebase|| |Overview|Bridge to native so you get additional metadata from device not available from app. Comes with built in Google Analytics events for users, sessions, and hits (visited pages/screens). Can customize for event fires, timing, exceptions, and purchases. Uses Google Analytics so syncs with web app. Uses react-native-google-analytics-bridge package|A better version of classic Google Analytics, they are both present as they are implemented in different ways.|AnalyticsAnalyticsAnalyticsAnalytics API with widespread support although still building out react-native. Accessed through analytics-react-native package. Great libraries, community and tools available. Can also send the messages to our own server in options object |

|Granularity| Manually build events for each page so we can get as much detail as we like.| Can specify our own events so can be as fine or broad as necessary.| From docs at face value it seems like we can track anything we like, it's just an API call with a string, can't find any limits like Firebase|

|Depth| Can track instant events (taps) as well as timing (how long they watch an invite) and purchases (however that transaction might happen, again customizable)| Can create up to 500 unique events to track with 24 options each | We are fully responsible for the data sent to log the event so depth is adaptable based on needs. I believe this includes device details as well (handled by Firebase)|

|Data Mobility| Exportable to CSV only on premium plan| Exporting Firebase seems sketchy. It is not available through the API. They want you to connect to BigQuery which then requires a Blaze plan (pay as you go, BigQuery is free for 1TB/month other services like notifications also have reasonable free tiers) After this we can download to a local machine and then manually import into a database to make it accessible by API for common consumption.!topic/firebase-talk/S0Mrwq_UsgU | We are in control of it from the beginning, we can send it to our own database when we send it to Segment as well |

|Implementation| Android + iOS. Basic funcionality out of the box and we can build out additional events based on priority. It will take significant time to get robust tracking but individual events should be quick coding.| 16 event trackers coming straight out of the box. Additional preconfigured events we can add easily to ease into creating our own event types All Firebase services accessible through online GUI as well.| Build from scratch. Data structure is totally up to us so design is important. Can have multiple instances for tracking different types of events (e.g. ads or invites)|

|Integrations| Google Tag Manager| Firebase remote config (adaptive UI based on defined user groups), firebase crash reporting, and firebase notification service| Very many, full list can customize which events get sent to which integrations|

|Precautions| iOSprerequisite| Does not integrate with google analytics. Haven't found anything on using firebase data with other services hassle free| N/A|

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment