TealiumConsentManagerDelegate
Provides methods for the Tealium Consent Management delegate.
Class: TealiumConsentManagerDelegate
The following summarizes the commonly used methods of the iOS (Swift) TealiumInstanceManagerDelegate
class.
Method | Description |
---|---|
consentStatusChanged() |
Called whenever the consent state has been successfully updated |
userChangedConsentCategories() |
Called when the user updates their consent categories preferences |
userConsentedToTracking() |
Called when the consent state is changed to .consented |
userOptedOutOfTracking() |
Called when the user declines/revokes consent |
willDropTrackingCall() |
Called when the Consent Manager is going to drop a tracking call |
willQueueTrackingCall() |
Called when the Consent Manager is in the "unknown" state, and tracking calls are being queued locally until the user grants or declines consent |
willSendTrackingCall() |
Called when the user has consented to tracking, and a tracking call is about to pass through the Consent Manager without being blocked |
consentStatusChanged()
Called when the consent state has been successfully updated.
consentStatusChanged(state)
Parameter | Type | Description |
---|---|---|
state |
TealiumConsentStatus |
Consent state |
userChangedConsentCategories()
Called when the user updates their consent categories preferences.
userChangedConsentCategories(categories)
}
Parameter | Type | Description |
---|---|---|
categories |
[TealiumConsentCategories] |
Consent categories |
userConsentedToTracking()
Called when the consent state is changed to .consented
.
userConsentedToTracking()
userOptedOutOfTracking()
Called when the user declines/revokes consent (consent status: .notConsented
).
userOptedOutOfTracking()
willDropTrackingCall()
Called when the Consent Manager is going to drop a tracking call. For example, when the user has declined tracking consent.
willDropTrackingCall(request)
Parameter | Type | Description |
---|---|---|
request |
TealiumTrackRequest |
Tealium track request |
willQueueTrackingCall()
Called when the Consent Manager is in the "unknown"
state, and tracking calls are being queued locally until the user grants or declines consent.
willQueueTrackingCall(request)
Parameter | Type | Description |
---|---|---|
request |
TealiumTrackRequest |
Tealium track request |
willSendTrackingCall()
Called when the user has consented to tracking, and a tracking call is about to pass through the Consent Manager without being blocked.
willSendTrackingCall(request)
Parameter | Type | Description |
---|---|---|
request |
TealiumTrackRequest |
Tealium track request |
This page was last updated: January 7, 2023