• Help
  • Back
  • Tealium Prism Firebase Dispatcher for iOS Reference
    • Firebase Dispatcher
      • Modules
      • – Types
      • FirebaseSettingsBuilder
      • FirebaseMappings
      • FirebaseCommand
      • FirebaseDestination
    • Command Reference
      • Mappings
      • LogEvent
      • SetUserID
      • SetUserProperty
      • SetDefaultParameters
      • SetSessionTimeout
      • SetAnalyticsCollectionEnabled
      • SetConsent
      • ResetData
      • InitiateConversionMeasurement
  • Tealium Prism Firebase Dispatcher for iOS Reference

Firebase Dispatcher Reference

  • Modules
    See more

    Declaration

    Swift

    public extension Modules
  • FirebaseSettingsBuilder

    Builder for Firebase Dispatcher configuration settings.

    Use this builder to configure Firebase Analytics behavior. For data mappings, use setMappings(_:) with FirebaseMappings type-safe enums.

    Available Configuration Options

    • setSessionTimeout(_:) - Session timeout duration
    • setAnalyticsEnabled(_:) - Enable/disable analytics collection
    • setLogLevel(_:) - Firebase internal logging verbosity

    Example

    Modules.firebaseDispatcher(forcingSettings: { builder in
        builder
            .setSessionTimeout(30.minutes)
            .setAnalyticsEnabled(true)
            .setMappings { mappings in
                mappings.mapCommand(.logEvent)
                mappings.mapFrom("tealium_event", to: .eventName)
            }
    })
    
    See more

    Declaration

    Swift

    public class FirebaseSettingsBuilder : DispatcherSettingsBuilder<FirebaseMappings>

Firebase Mappings

  • FirebaseMappings

    Concrete Firebase mappings builder combining FirebaseCommand and FirebaseDestination.

    Used with FirebaseSettingsBuilder.setMappings(_:) to configure Firebase-specific data mappings with type-safe enums.

    Modules.firebaseDispatcher(forcingSettings: { builder in
        builder.setMappings { mappings in
            mappings.mapCommand(.logEvent)
            mappings.mapFrom("tealium_event", to: .eventName)
            mappings.mapFrom("total", to: .eventParam(AnalyticsParameterValue))
            mappings.mapFrom("product_ids", to: .itemParam(AnalyticsParameterItemID))
        }
    })
    
    See more

    Declaration

    Swift

    public class FirebaseMappings : CommandMappingsBuilder<FirebaseCommand, FirebaseDestination>

Firebase Commands

  • FirebaseCommand

    Type-safe Firebase Analytics commands for use with FirebaseMappings.mapCommand(_:).

    See more

    Declaration

    Swift

    public enum FirebaseCommand : String, CommandName

Firebase Destinations

  • FirebaseDestination

    Type-safe Firebase Analytics mapping destinations.

    Each case maps to a specific key or path in the Firebase command payload. Use with mapFrom(_:to:), mapConstant(_:to:), and keep(_:).

    See more

    Declaration

    Swift

    public enum FirebaseDestination : JSONObjectPathConvertible

© 2026 Tealium. All rights reserved. (Last updated: 2026-09-17)

Generated by jazzy ♪♫ v0.15.4, a Realm project.