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