Type Function Return value none Revision Release 2022.3683 Keywords analytics, attribution, Kochava Free App Analytics, setIdentityLink See also kochavaFAA.*
Links the Kochava device ID with user-defined identities. This provides you the opportunity to link different identities together. For example, you may have assigned each user of your app an internal user ID which you want to connect to a user's service identifier. Using this method, you can send both your internal user ID and their service identifier and connect them in the Kochava database.
A maximum of two key-value pairs can be set with each call.
kochavaFAA.setIdentityLink( linkTable )
Table. A table containing key-value pairs.
local kochavaFAA = require( "plugin.kochava.faa" ) local function kochavaListener( event ) -- Handle events here end -- Initialize plugin kochavaFAA.init( kochavaListener, { appGUID = "YOUR_APP_GUID" } ) kochavaFAA.setIdentityLink( { myInternalUserID="12345" } )