I would like to use Google Analytics in my App, and it should be supported in Ionic 4 according to this
but I am running Capacitor, so can anyone help me with install instructions, as I have installed the native as that is supported by Capacitor according to the documentation, but should I also install the cordova plugin?
No matter if the cordova plugin is installed or not I get this error
and that is this code
so basically the Native wrapper is trying to do something with Cordova.
Anyone know how this is supposed to work?