Adding Google Analytics into Ionic 5 App

I’ve been battling with adding tracking into my app and am struggling to find clear information on what to do about it.

The two options I’ve tried so far and with no luck are:

  • Google Analytics - It asks for a tracking ID which doesn’t seem to be available within Google Analytics. There are only data stream identifiers and an overall property ID. Neither of which seem to work.

  • Google Firebase - Which seems to generate build errors as well as console log errors. Even though we are already using Firebase Authentication successfully.

Are there any clear methods or instructions to getting Google Analytics hooked up? There is a lot of conflicting advice / information out there.