Type Function Return value none Revision 2017.3060 Keywords analytics, attribution, Kochava, setIdentityLink See also kochava.*
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.
kochava.setIdentityLink( linkTable )
Table. A table containing key-value pairs.
local kochava = require( "plugin.kochava" ) local function kochavaListener( event ) -- Handle events here end -- Initialize plugin kochava.init( kochavaListener, { appGUID = "YOUR_APP_GUID" } ) kochava.setIdentityLink( { myInternalUserID="12345" } )