Capacitor - Google Analytics install script correct?

Wondering because I blindly copied the install script from the documentation page into my terminal.

The capacitor install commands on the documentation page list the cordova plugin to install. Is this correct?

npm install cordova-plugin-firebase-analytics
npm install @ionic-native/firebase-analytics
ionic cap sync

Well, I am not fully sure about this. As I installed all of it. If you want to be sure about it then do check out my paper writer. It will surely help you with all the queries you have.