Analytics/GettingStarted – Flurry

http://support.flurry.com/index.php?title=Analytics/GettingStarted

Analytics

STEP 1: Basic Setup in 5 minutes

You can gain deep insight into your customer’s behavior very quickly and with little effort using Flurry’s Analytics service. The integration process is designed to be as easy as possible with basic setup complete in under 5 minutes.

1. Download the Flurry iOS SDK

The archive should contain these files for use with Flurry Analytics:

  • ProjectApiKey.txt : This file contains the name of your project and your project’s API key.
  • FlurryiOSAnalyticsREADMEvx.y.z.pdf : This file containing instructions on how to use Flurry Analytics (where x.y.z denotes the latest version of Flurry SDK).
  • Flurry/Flurry.h : The required header file header file containing methods for Flurry Analytics.
  • Flurry/libFlurry-x.y.z.a : The required library containing Flurry’s collection and reporting code (where x.y.z denotes the latest version of Flurry SDK).

There are additional folders for use with Flurry Ads. This optional library provides alternate streams of revenue for your apps. For more information, please see Flurry Ads (Getting Started).

2. Add the Flurry lib to your project

  • In the finder, drag Flurry/ into project’s file folder. (NOTE: If you are upgrading the Flurry iOS SDK, be sure to remove any existing Flurry library folders from your project’s file folder before proceeding.)
  • Now add it to your project: File > Add Files to “YOUR PROJECT”
  • Add SystemConfiguration.framework to your app. This is required for Reachability to manage network operations efficiently.
  • For iOS SDK 4.2.3+, add Security.framework to your app.

3. Incorporate the following three lines of Flurry code:

  • In your Application Delegate: Import Flurry and inside “applicationDidFinishLaunching:” add:
1 2 3 4 5 6 7 8 9 10 11 12 13 14

#import “Flurry.h”

(BOOL)application:(UIApplication *)application

didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

// Your code

//note: iOS only allows one crash reporting tool per app; if using another, set to: NO

[Flurry setCrashReportingEnabled:YES];

// Replace YOUR_API_KEY with the api key in the downloaded package

[Flurry startSession:@”YOUR_API_KEY”];

}

We recommend calling Flurry Analytics from the main thread. Flurry Analytics is not supported when called from other threads.

Please note: The validity of the Crash Analytics data will be negatively affected by the use of an uncaught exception handler. Please remove all such handlers when using Flurry Crash Analytics.

Those 3 steps will give you access to the features below (see Metrics Overview for details)

STEP 2: Understand user behavior through tracking Custom Events.

Elyssa D. Durant © DailyDDoSe™ 2007-2014

Advertisements

2 thoughts on “Analytics/GettingStarted – Flurry

  1. Hey there! I could have sworn I’ve been to this
    website before but after reading through some of the post I realized it’s new to me.
    Anyhow, I’m definitely happy I found it and I’ll be book-marking and checking back frequently!

    Like

  2. It’s a shame you don’t have a donate button!
    I’d definitely donate to this superb blog! I suppose for now i’ll settle for book-marking and adding your RSS feed to my Google account.
    I look forward to fresh updates and will share this
    site with my Facebook group. Chat soon!

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s