Skip to main content

Default tracker

By default, users who are not attributed to a campaign are assigned to your app's Organic tracker. Use defaultTracker to route unattributed traffic to a different tracker instead.

Set defaultTracker in Adtrace.initSdk before the first session is sent.

Parameter

ParameterTypeDescription
defaultTrackerstringTracker token from the Adtrace panel for unattributed installs.

Example

Adtrace.initSdk({
appToken: '{YourAppToken}',
environment: 'production',
defaultTracker: '{YourTrackerToken}',
});
note

This applies to traffic the SDK cannot attribute to a campaign. It does not override attribution from tracker links or referrers.