Follow this guide to get Google Analytics setup in your Divjoy codebase. Click the ▶︎ icon next to any step to see a detailed walkthrough with screenshots. If anything is confusing please reach out.
Basic Setup
‣
‣
.env
file.You should now have a working analytics in your web app
Troubleshooting
‣
When creating a new Firebase project with DivJoy, you are given the option to create and connect a new Google Analytics property for the project. (See image below)
Google Analytics for Firebase is auto-generating unique property identifiers that are incompatible with DivJoy with an analytics property format of "G-123456".
We recommend that you create a new property directly in Google Analytics with the original analytics property format of "UA-123abc" while we add support for the new Google Analytics for Firebase.