Analytics (iOS)
Event callbacks
Video playback event callbacks
FireworkVideoSDK.eventTracking.videoPlaybackDelegate = // Object to receive video playback events /// Called when a video appears on the screen but the video playback has not started
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidRecordImpression(_ videoPlayback: VideoPlaybackDetails)
/// Called when a video has paused playback
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidPause(_ videoPlayback: VideoPlaybackDetails)
/// Called when a video has resumed playback
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidResume(_ videoPlayback: VideoPlaybackDetails)
/// Called when a video has started playing
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidStartPlaying(_ videoPlayback: VideoPlaybackDetails)
/// Called when the first quarter of the video has been played
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoReachedFirstQuartile(_ videoPlayback: VideoPlaybackDetails)
/// Called when the first half of the video has been played
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoReachedMidPoint(_ videoPlayback: VideoPlaybackDetails)
/// Called when the third quarter of the video has been played
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoReachedThirdQuartile(_ videoPlayback: VideoPlaybackDetails)
/// Called when the video reaches end of playback.
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidFinishPlaying(_ videoPlayback: VideoPlaybackDetails)
/// Called when the user has tapped on the CTA button that appeared during the video playback
func fireworkVideoDidTapCTAButton(_ videoPlayback: VideoPlaybackDetails)
/// Called when the user has tapped on the share button that appeared during the video playback
func fireworkVideoDidTapShareButton(_ videoPlayback: VideoPlaybackDetails)
/// Called when an ad video has started playing
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidStartPlayingAd(_ videoPlayback: VideoPlaybackDetails)
/// Called when the ad video reaches end of playback.
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidFinishPlayingAd(_ videoPlayback: VideoPlaybackDetails)
/// Called when the video is muted.
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidMute(_ videoPlayback: VideoPlaybackDetails)
/// Called when the video is unmuted.
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidUnmute(_ videoPlayback: VideoPlaybackDetails)
/// Called when the user closes or skips to the other video manually.
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidClose(_ videoPlayback: VideoPlaybackDetails)
/// Called when the video is automatically paused.
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidAutomaticallyPause(_ videoPlayback: VideoPlaybackDetails)
/// Called when the video is automatically resumed.
/// - Parameter videoPlayback: The details of the video playback
func fireworkVideoDidAutomaticallyResume(_ videoPlayback: VideoPlaybackDetails)Feed event callbacks
Live stream event callbacks
Data Tracking Level
External ad tracking configuration
Identifying the component that triggered the event
Obtain feed ID from components and cache custom data globally
Get custom data from global cache via feed ID in event payload
Last updated
Was this helpful?