Usabilla Remote Command tag in Tealium iQ Tag Management
How It Works
The Usabilla integration uses the native Usabilla SDK, the Tealium Usabilla remote command module that wraps Usabilla methods, and the Usabilla Remote Command tag that translates event tracking into native Usabilla calls. This solution leverages the convenience of Tealium iQ Tag Management to configure a native Usabilla implementation without having to add vendor-specific code to your app.
Adding the Usabilla remote command module to your app automatically installs and builds the required Usabilla libraries. If you are using a dependency manager installation, there is no need to install the Usabilla SDK separately.
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.
To install Usabilla remote commands for iOS using CocoaPods:
Remove tealium-swift and pod "Usabilla" if they already exist your Podfile. The dependency for tealium-swift is already included in the TealiumUsabilla framework.
Add the following dependency to your Podfile:
The TealiumUsabilla pod includes the following TealiumSwift dependencies:
usabillaHttpClient = null
Overrides the HttpClient object, which gives the possibility to inject a custom client to handle all the connections performed by the SDK. Learn more about the custom HTTP client.
usabillaReadyCallback = null
Overrides the UsabillaReadyCallback object, which is a callback used to communicate when the initialization process ends.
autoFragmentManager = false
Disables passive feedback (enabled by default). Passive feedback requires Android’s FragmentManager to be kept up-to-date and monitored using android.app.Application.ActivityLifecycleCallbacks.
autoFeedbackHandler = false
Disables handling of event tracking for passive and campaign feedback forms as well as auto-removing forms that have been submitted or dismissed (enabled by default). Two android.content.BroadcastReceivers are registered to listen for Usabilla events that handle both passive and campaign feedback form closures.
The following example shows usage of the optional parameters: