Flurry Analytics

Contents

This plugin connects to Flurry Analytics SDK

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

Stuck on a Cordova issue?

Installation

Community Enterprise
ionic cordova plugin add cordova-plugin-flurryanalytics npm install @ionic-native/flurry-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/flurry-analytics

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