Type Library Revision 2017.3060 Keywords analytics, attribution, Tenjin Platforms Android, iOS
The Tenjin plugin is used for advertising analytics, also known as attribution. It helps studios who run multiple advertising campaigns for their apps understand where their users are coming from. With this information, they can see the effectiveness of their spending and optimize their campaigns accordingly.
Before using this plugin, you'll need to register with Tenjin to receive an API key.
local tenjin = require( "plugin.tenjin" )
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 = { ["plugin.tenjin"] = { publisherId = "com.coronalabs" }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, }, }
For iOS, when submitting your app to the App Store, follow these guidelines:
For Android, the following permissions/features are automatically added when using this plugin:
"android.permission.INTERNET"