analytics.*

Type CoronaProvider
Revision 2017.3044
Keywords analytics, Flurry
Platforms Android, iOS
Important

This documentation outlines the legacy Flurry plugin. We recommend that you update to the current Flurry Analytics plugin instead.

Overview

The Flurry plugin lets you log interesting events in your application via the [analytics][api.library.analytics] library.

Registration

To use Flurry analytics, please register for an account.

Syntax

local analytics = require( "analytics" )

Functions

Project Settings

To use this plugin, add two entries into the plugins table of build.settings. When added, the build server will integrate the plugin during the build phase.

settings =
{
    plugins =
    {
        ["CoronaProvider.analytics.flurry"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { iphone=true, android=true }
        },
        ["CoronaProvider.gameNetwork.google"] =
        {
            publisherId = "com.coronalabs",
            supportedPlatforms = { android=true }
        },
    },
}