Skip to content

ianwelsh/ti.flurry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Titanium Module for Flurry Analytics Build Status

This is the Flurry Analytics Module for Titanium. It will provide you with access to Flurry integration in your Titanium iPhone/Android application.

Application Initialization

To setup your app, you need to initialize the module with your Flurry application API key. You should place this command in your app.js:

var Flurry = require("ti.flurry");
Flurry.initialize("YOUR_API_KEY");

Make sure you replace YOUR_API_KEY with your actual key.

That's it for the basics. You should now receive Flurry analytics data.

Extra Stuff

Forcing Transmission on Shutdown (iOS Only)

By default, Flurry will only log upon subsequent runs of the application and caches logged data on the device. You can force Flurry to attempt to send data upon exit of the app by calling the following API:

Flurry.reportOnClose(true);

Custom Event Logging

To log events using custom events, you can call the following API:

Flurry.logEvent(event_name,parameters);

Where event_name is a string name of your event and where parameters (optional) is a Javascript dictionary of key value pairs (JSON serializable) that you want to associate with the event.

Contributors

  • Pedro Enrique
  • Jon Alter
  • Ayo Adesugba

Interested in contributing? Read the contributors/committer's guide.

Legal

This module is Copyright (c) 2010 by Appcelerator, Inc. All Rights Reserved. Flurry is Copyright(c) 2010 by Flurry, Inc. Usage of this module is subject to the Terms of Service agreement of Flurry, Inc. as well as your Terms of Service agreement with Appcelerator, Inc.

About

The Flurry Analytics Module for Appcelerator Titanium

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Tcl 62.5%
  • Objective-C 22.5%
  • Python 8.6%
  • Java 4.5%
  • JavaScript 1.9%