In order to gather analytics from your app and send push notifications to your users you will need to create a Firebase project. Firebase is a free app development platform from Google.
1. Create a Firebase project
Open up Firebase and click “Get Started”. You will have to create a Google Account if you do not already have one.
Click “Create a project” (if you’re new to Firebase) or “Add project” (if you already have other Firebase projects).
We recommend giving your project the same name as your application, but this is up to you.
Make sure that “Enable Google Analytics for this project” is checked. If asked about sharing data with Google, it’s up to you which options you choose.
2. Grant Treefort access to your Firebase project
Click the gear in the top left of your new Firebase project page (next to “Project Overview”) and choose “Users and permissions”.
Click “Add Member”, enter [email protected] for the email, and choose “Editor” under “Roles”.
3. Grant Treefort access to your Google Analytics property
Your Firebase project should be linked to a Google Analytics (GA4) account. We’ll be making some changes to that account.
Open your Firebase project settings, select the “Integrations” tab, click “View link” on the Google Analytics card, and click the link under “Linked Google Analytics account”.
Click “Property Access Management” in the left-hand column of the GA4 account.
Click the blue “+” button in the top right and choose “Add users”.
Add a user for [email protected] with the “Administrator” role.
👉 We only need admin permissions to your Firebase and GA4 accounts during the initial setup process. After we have configured your accounts you are free to remove the [email protected] user from both accounts, although we recommend waiting to do this until your apps have successfully launched.