How to deal with Google Analytics in Web/iOs/Android

Hi everyone,

I am used to create websites and now with Ionic I am well on my way to create my first app.

To integrate basic functionality of Google Analytics, I simply add some javascript and when someone loads a page or changes url, it is tracked. To run my app, on iOS and Android, I use capacitor. Now I am unsure how to approach analytics.

I have looked at https://ionicframework.com/docs/native/google-analytic and it states it supports Browser, iOS and Android, so it seems that fits my requirements. I think with this plugin I will have to trigger something like window.ga.trackView(‘Screen Title’) for everyview, instead of automatic tracking through url changes?

Or would you advice a different approach?