Firebase Analytics


Cordova plugin for Firebase Analytics

Stuck on a Cordova issue?


Community Enterprise
ionic cordova plugin add cordova-plugin-firebase-analytics npm install @ionic-native/firebase-analytics
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More   or   Contact Us
ionic activate-native-ee --key=YOURPRODUCTKEY ionic integrations add @ionic-native/firebase-analytics

Supported Platforms

  • Android
  • iOS


import { FirebaseAnalytics } from '@ionic-native/firebase-analytics/ngx';

constructor(private firebaseAnalytics: FirebaseAnalytics) { }


this.firebaseAnalytics.logEvent('page_view', {page: "dashboard"})
  .then((res: any) => console.log(res))
  .catch((error: any) => console.error(error));