Type Function Return value none Revision Release 2022.3683 Keywords analytics, attribution, Kochava Free App Analytics, getAttributionData See also kochavaFAA.*
Get attribution data from Kochava.
This function will return attribution data to the Corona listener specified in kochavaFAA.init(). If no data is available, event.data will contain the value false
.
This function will only return data if the enableAttributionData
parameter was set to true
when calling kochavaFAA.init().
kochavaFAA.getAttributionData()
local kochavaFAA = require( "plugin.kochava.faa" ) local function kochavaListener( event ) -- Handle events here end -- Initialize plugin kochavaFAA.init( kochavaListener, { appGUID = "YOUR_APP_GUID", enableAttributionData = true } ) -- Sometime later, get attribution data kochavaFAA.getAttributionData()