TealiumDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TealiumDelegate.h |
– tealium:shouldDropDispatch:
Delegate method that permits last minute manipulation or suppression (destruction) of a track call dispatch.
- (BOOL)tealium:(Tealium *)tealium shouldDropDispatch:(TEALDispatch *)dispatch
Parameters
tealium |
The Tealium instance to process this dispatch |
---|---|
dispatch |
The dispatch in question. Property and payload data manipulated here will overwrite this dispatch’s outbound data - effects not persistent |
Return Value
Boolean indicating whether dispatch should be sent or destroyed
Declared In
TealiumDelegate.h
– tealium:shouldQueueDispatch:
Dispatches passing the tealium:shouldDropDispatch: delegate method can be queued / saved by this method. Also supercedes any remote publish setting batching and offline options. Must include logic to return NO or dispatches will never be sent.
- (BOOL)tealium:(Tealium *)tealium shouldQueueDispatch:(TEALDispatch *)dispatch
Parameters
tealium |
The Tealium instance requesting confirmation |
---|---|
dispatch |
The dispatch in question. Property and payload data manipulated here will overwrite this dispatch’s outbound data - effects not persistent @bool Boolean indicating whether dispatch should be queued at this time. |
Declared In
TealiumDelegate.h
– tealium:didSendDispatch:
Provides pointer to TEALDispatch that was just sent by a dispatch service.
- (void)tealium:(Tealium *)tealium didSendDispatch:(TEALDispatch *)dispatch
Parameters
tealium |
The Tealium instance confirming |
---|---|
dispatch |
The dispatch in question. Do not manipulate any of its properties or payload data here as they will not take effect or persist. |
Declared In
TealiumDelegate.h
– tealium:didQueueDispatch:
Provides pointer to TEALDispatch that was just saved for later delivery.
- (void)tealium:(Tealium *)tealium didQueueDispatch:(TEALDispatch *)dispatch
Parameters
tealium |
The Tealium instance confirming |
---|---|
dispatch |
The dispatch in question. Do not manipulate any of its properties or payload data here as they will not take effect or persist. |
Declared In
TealiumDelegate.h
– tealiumInstanceDidUpdatePublishSettings:
Notification that new remote publish settings have been received and processed.
- (void)tealiumInstanceDidUpdatePublishSettings:(Tealium *)tealium
Parameters
tealium |
The Tealium instance with new publish settings. |
---|
Declared In
TealiumDelegate.h
– tealium:webViewIsReady:
If Tag Management dispatch service is enabled, passes pointer to it’s UIWebView that hosts UTAG.js. Not available on tvOS.
- (void)tealium:(Tealium *)tealium webViewIsReady:(id)webView
Parameters
tealium |
The Tealium instance ready |
---|---|
webView |
The WebView instance used by any Tag Management service - nil if none initialized. |
Declared In
TealiumDelegate.h