<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/@ionic-native/plugins/firebase-analytics/index.ts#L1">
  Improve this doc
</a>

# Firebase Analytics
  <p style="color:orange">
    This plugin is still in beta stage and may not work as expected. Please
    submit any issues to the <a target="_blank"
    href="/issues">plugin repo</a>.
  </p>


```
$ ionic cordova plugin add cordova-plugin-firebase-analytics
$ npm install @ionic-native/firebase-analytics
```

## [Usage Documentation](https://ionicframework.com/docs/native/firebase-analytics/)

Plugin Repo: [https://github.com/chemerisuk/cordova-plugin-firebase-analytics](https://github.com/chemerisuk/cordova-plugin-firebase-analytics)

Cordova plugin for Firebase Analytics

Go to firebase console and export google-services.json and GoogleService-Info.plist. Put those files into the root of your cordova app folder.

NOTE: on iOS in order to collect demographic, age, gender data etc. you should additionally include AdSupport.framework into your project.

## Supported platforms
- Android
- iOS



