kochavaFAA.* — Free App Analytics

Type Library
Revision Release 2022.3683
Keywords analytics, attribution, Kochava Free App Analytics
Platforms Android, iOS

Overview

The Kochava Free App Analytics plugin allows you to integrate the Kochava SDK for leveraging hundreds of ad network and publisher partners.

Note

This is a free service provided by Kochava which is limited in functionality compared to the full Kochava plugin. This plugin only allows the logging of pre-defined events using kochavaFAA.logEvent() and kochavaFAA.logDeeplinkEvent().

Important

Check out new init parameters hasUserConsent and intelligentConsentManagement, also setHasUserConsent method and new event type consent to enable GDPR data collection restrictions.

Intelligent Consent Management is an opt-in feature and must be enabled both in the app and on the Edit App page of the Kochava Dashboard in order to function for this new functional to work.

Registration

Before using this plugin, you'll need to register with Kochava to receive a app GUID.

Syntax

local kochavaFAA = require( "plugin.kochava.faa" )

Functions

Events

Project Settings

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

settings =
{
    plugins =
    {
        ["plugin.kochava.faa"] =
        {
            publisherId = "com.coronalabs"
        },
    },
}
Important

For iOS, when submitting your app to the App Store, follow these guidelines:

  • Make sure you select yes when asked if your app uses the Advertising Identifier (IDFA).
  • Ensure that the Attribute this app installation to previously served advertisement box is checked.
Note

For Android, the following permissions/features are automatically added when using this plugin:

  • "android.permission.INTERNET"
  • "android.permission.ACCESS_NETWORK_STATE"
  • "android.permission.ACCESS_WIFI_STATE"

Support