Flurry Analytics
This plugin connects to Flurry Analytics SDK
https://github.com/blakgeek/cordova-plugin-flurryanalytics
Stuck on a Cordova issue?
If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.
Installation#
- Capacitor
- Cordova
- Enterprise
$ npm install cordova-plugin-flurryanalytics $ npm install @ionic-native/flurry-analytics $ ionic cap sync$ ionic cordova plugin add cordova-plugin-flurryanalytics $ npm install @ionic-native/flurry-analytics Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us
Supported Platforms#
- Android
- iOS
Usage#
React#
Learn more about using Ionic Native components in React
Angular#
import { FlurryAnalytics, FlurryAnalyticsObject, FlurryAnalyticsOptions } from '@ionic-native/flurry-analytics/ngx';
constructor(private flurryAnalytics: FlurryAnalytics) { }
...
const options: FlurryAnalyticsOptions = { appKey: '<your app key>', // REQUIRED reportSessionsOnClose: true, enableLogging: true}
let fa: FlurryAnalyticsObject = this.flurryAnalytics.create(options);
fa.logEvent('event name') .then(() => console.log('Logged an event!')) .catch(e => console.log('Error logging the event', e));