kochavaFAA.logDeeplinkEvent()

Type Function
Return value none
Revision Release 2024.3703
Keywords analytics, attribution, Kochava Free App Analytics, logDeeplinkEvent
See also kochavaFAA.logEvent()
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" )