The Firebase integration uses the native Firebase SDK, a remote command module that wraps the Firebase methods, and the Firebase Remote Command tag that translates event tracking into native Firebase calls. The integration uses three items:
The Firebase native SDK
The remote commands module
Either the JSON configuration file or Remote Command tag
Adding the Firebase remote command module to your app automatically installs and builds the required Firebase libraries, without having to add vendor-specific code to your app. If you are using a dependency manager installation, there is no need to install the Firebase SDK separately.
There are two remote command options: A JSON configuration file, or using iQ Tag Management to configure the mappings. A JSON configuration file is the recommended option for your vendor integration, hosted either remotely or locally within your app. If using iQ Tag Management, add the Remote Command tag for the vendor integration. Learn more about vendor integrations.
If you are not using the JSON configuration file, we recommend using one of the following dependency managers for installation:
If you are using the Tealium iOS (Objective-C) library, use the manual installation method. The CocoaPods and Carthage options are only available if you are using the Tealium iOS (Swift) library.
Install the TealiumFirebase Remote Command with CocoaPods or Carthage.
To install Firebase remote commands for iOS using CocoaPods:
Remove the following line if it exists in your Podfile:
Add the following dependency to your Podfile:
The TealiumFirebase pod includes the following TealiumSwift dependencies:
If you are configuring remote commands using a JSON configuration file, refer to the following template to get started. The template includes common mappings used in a standard e-commerce installation. Edit the mappings as needed.