Setting your Bubbl ID for External Systems Correlation
Tracing user interactions across campaigns with systems external to the Bubbl Platform
Audience
App Developer
Marketer
If you are tracing user interactions across campaigns with systems external to the Bubbl Platform, you must follow instructions below.
Tracing user interactions across campaigns with systems external to the Bubbl Platform
If a user logs into their account on your app, you can set the Bubbl Id to a value that will be associated with every geofence they trip, enabling you to export data from the Bubbl Platform into an external system and improve your marketing data analytics abilities.
App Developer
Setting the Bubbl Id
To set the Bubbl Id in your application code:
[BUMain setXBubblID:(NSString *)@"Some Unique Hash Goes Here"];
// Initialise the Bubbl Plugin after setting the Bubbl Id
SharedUtil.saveData(this, SharedUtil.SHARED_PREFS_X_BUBBL_ID, SharedUtil.KEY_X_BUBBL_ID, "Some Unique Hash Goes Here");
// Initialise the Bubbl Plugin after setting the Bubbl Id
if (Platform.OS === 'android') {
BubblSdk.saveBubblId("Some Unique Hash Goes Here");
// Initialise the Bubbl Plugin after setting the Bubbl Id
} else {
NativeModules.BubblSdk.saveBubblId("Some Unique Hash Goes Here");
// Initialise the Bubbl Plugin after setting the Bubbl Id
}
The Bubbl Id should be set before BubblSdk.initialize(MainActivity.this,API_URL,API_KEY,true);
is invoked.
If you initialise the BubblSdk and then the user logs in on the app at a later point in time then you must invoke BubblSdk.reInitialize(MainActivity.this,API_URL,API_KEY,true);
after setting the Bubbl Id for it to take effect.
Updated over 1 year ago