kochava.limitAdTracking()

Type Function
Return value none
Revision Release 2022.3683
Keywords analytics, attribution, Kochava, limitAdTracking
See also kochava.*

Overview

Limits ad tracking and opts out of interest-based ads.

Syntax

kochava.limitAdTracking( setting )
setting (required)

Boolean. Limits ad tracking when set to true.

Example

local kochava = require( "plugin.kochava" )

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

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

-- Sometime later, limit ad tracking
kochava.limitAdTracking( true )