Skip to main content

User Attribution

You can call the attribution method to get the user's current attribution. This will return all the information found in the ADTAttribution class as a JSON object.

Note

Information about current attribution is available after the backend has tracked the installation. The attribution callback will fetch this information for you to use.

ADTAttribution *attribution = [Adtrace attribution];

All properties are returned as a JSON object. Any values that are not populated will be sent back as nil.

ValuesData typeDescription
trackerTokenStringThe token of the tracker to which the device is currently attributed.
trackerNameStringThe name of the tracker to which the device is currently attributed.
networkStringThe name of the network to which the device is currently attributed.
campaignStringThe name of the campaign to which the device is currently attributed.
adgroupStringThe name of the adgroup to which the device is currently attributed.
creativeStringThe name of the creative to which the device is currently attributed.
adidStringThe unique Adtrace ID assigned to the device.