Skip to main content
Version: SDK 5.0.x

Interface AttributionData

warning

Interface AttributionData is deprecated.

interface AttributionData {  
    adsetId: null | string;
    campaign: AttributionCampaign;
    channel: AttributionChannel;
    createdAt: Date;
    justtrackUserId: string;
    partner: AttributionPartner;
    sourceBundleId: null | string;
    sourceId: null | string;
    sourcePlacement: null | string;
    type: string;
    userType: string;
}

Hierarchy

BaseAttributionData
+ AttributionData

Properties

adsetId

adsetId: null | string

Get the adset id the user was attributed to, if any.

Returns

The adset id the user was attributed to.

campaign

campaign: AttributionCampaign

Get the campaign to which this user was attributed to.

Returns

The campaign the user was attributed to.

channel

channel: AttributionChannel

Get the id, name, and incent flag of the channel the user was attributed to.

Returns

The channel the user was attributed to.

createdAt

createdAt: Date

justtrackUserId

justtrackUserId: string

Retrieves the justtrack user id. It allows you to uniquely identify a user at least until the app is uninstalled.

Deprecated

partner

partner: AttributionPartner

Get the id and name of the partner the user was attributed to.

Returns

The partner the user was attributed to.

sourceBundleId

sourceBundleId: null | string

Get the source bundle id the user was attributed to, if any.

Returns

The source bundle id the user was attributed to.

sourceId

sourceId: null | string

Get the source id the user was attributed to, if any.

Returns

The source id the user was attributed to.

sourcePlacement

sourcePlacement: null | string

Get the source placement the user was attributed to, if any.

Returns

The source placement the user was attributed to.

type

type: string

Get the type of the attribution.

Returns

The type of the attribution.

userType

userType: string

Get the type of the current install. Can be "acquisition" or "retargeting".

Returns

The type of the current install.