How to use google analytics plugin with Ionic 5

I am getting the following error on Ionic 5 capacitor app when running on android

Msg: Native: tried calling GoogleAnalytics.startTrackerWithId, but the GoogleAnalytics plugin is not installed.

having followed the instructions
npm install cordova-plugin-google-analytics
npm install @ionic-native/google-analytics
ionic cap sync

what else am I missing?