Search docs/

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.

Contact Us Today!

Installation

ionic cordova plugin add cordova-plugin-flurryanalyticsnpm install @ionic-native/flurry-analytics
Ionic Native 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

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));