We constantly publish updates to our documentation, which may not yet be available in your language. For the most current information, use the English version.
You can register a delegate callback to notify you of the status of event and session tracking. The Adjust SDK uses the optional AdjustDelegate protocol used for the attribution callback.
Add the following delegate callback function for successfully tracked events:
The SDK will call the delegate functions after it tries to send a package to the Adjust backend. You have access to a response data object within the delegate callback. This object contains information about the status of the callback. Here is a summary of the returned properties:
Event properties
Property
Data type
Description
message
NSString
The message from the server or the error logged by the SDK.
timeStamp
NSString
The timestamp from the Adjust backend.
adid
NSString
A unique device identifier provided by Adjust.
jsonResponse
NSDictionary
The JSON object with the response from the server.
eventToken
NSString
The event token.
callbackId
NSString
The custom defined callback ID set on event object.
willRetry
BOOL
Returned if the event object failed. Indicates whether there will be an attempt to resend the package at a later time.
Session properties
Property
Data type
Description
message
NSString
The message from the server or the error logged by the SDK.
timeStamp
NSString
The timestamp from the Adjust backend.
adid
NSString
A unique device identifier provided by Adjust.
jsonResponse
NSDictionary
The JSON object with the response from the server.
willRetry
BOOL
Returned if the session object failed. Indicates whether there will be an attempt to resend the package at a later time.
Note:
If any value is unavailable, it will default to nil.