• 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
  • > Command Reference

ResetData Reference

ResetData

Clears all analytics data for this app instance from the device and resets the app instance ID. Use on user logout or when privacy regulations require data deletion.

command_name: resetdata · Firebase API: Analytics.resetAnalyticsData()

JSON Mappings

{
    "destination": { "key": "command_name" },
    "parameters": {
        "reference": { "key": "tealium_event" },
        "filter": { "value": "YOUR_EVENT_NAME" },
        "map_to": { "value": "resetdata" }
    }
}

This command takes no payload fields, so the command_name mapping is the only one required.

Programmatic

builder.setMappings { mappings in
    mappings.mapCommand(.resetData).ifValueIn("tealium_event", equals: "user_logout")
}

See Mappings for the shared mapping concepts used above.

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

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