kochava.logDeeplinkEvent()

Type Function
Return value none
Revision Current Public Release (2018.3326)
Keywords analytics, attribution, Kochava, logDeeplinkEvent
See also kochava.logEvent()
kochava.*

Overview

Sends a deep-link event to Kochava.

Note

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

Syntax

kochava.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 kochava = require( "plugin.kochava" )

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

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

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