kochavaFAA.logDeeplinkEvent()

Type Function
Return value none
Revision 2017.3060
Keywords analytics, attribution, Kochava Free App Analytics, logDeeplinkEvent
See also kochavaFAA.logStandardEvent()
kochavaFAA.*

Overview

Sends a deep-link event to Kochava.

Note

URL schemes should be configured for your app to use this function.

Syntax

kochavaFAA.logDeeplinkEvent( URL [, sourceApplication] )
URL (required)

String. The deep-link URL passed to your application.

sourceApplication (optional)

String. The application that sent the deep-link to your app.

Example

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

local function kochavaListener( event )
    -- Handle events here
end

-- Initialize plugin
kochavaFAA.init( kochavaListener,
    {
        appGUID = "YOUR_APP_GUID"
    }
)

-- Get URL and "sourceApplication" data
kochavaFAA.logDeeplinkEvent( "myawesomeapp://feed/highscores", "com.company.otherapp" )