Skip to main content

Flurry Analytics

This plugin connects to Flurry Analytics SDK

https://github.com/blakgeek/cordova-plugin-flurryanalytics

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

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#

$ npm install cordova-plugin-flurryanalytics
$ npm install @ionic-native/flurry-analytics
$ ionic cap sync

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