1. User Association Across All Platforms Introduction

Refer to the SDK product features for information on User Identification-User Association Across All Platforms (Internal Testing).

2. API Introduction

This section only introduces the API function of user association across all platforms, other tracking interface refer to Basic API Introduction.

Minimum Supported Version for ID-Mapping 3.0

Android SDK v6.3.0
iOS SDK v4.3.0
React Native SDK v2.2.3

2.1. Multi-User ID Association

Used when associating multiple user IDs, the first parameter is obtained from the detailed preset id key list, and the second parameter is the corresponding associated user ID.

After calling the interface, the corresponding key-value pair will be cached locally, and all subsequent collected events will contain the cached ID information.

sensors.bind("$identity_mobile","187****8991")
JAVA

2.2. Cancel Multi-User ID Association

Used when canceling the association of multiple user IDs, the first parameter is the key to cancel the association, and the second parameter is the corresponding user ID to cancel the association.

After calling the interface, the relevant unbinding events will be sent, and the corresponding key-value pair in the local cache of the ID information will be cleared (if it exists).

sensors.unbind("$identity_mobile","187****8991")
JAVA