User Association across Domains Introduction
Refer to the Identifying Users - User Association across Domains section in the SDK product features for details.
- This solution is a brand new user association program. If you need to use it, please contact customer success.
- SDK version >= v0.11.1
API Introduction
This section only introduces the API functions of User Association across Domains.
User Login
Called when a user logs in. The first parameter is obtained from the detailed preset ID key list. The second parameter is the corresponding user ID.
After calling the interface, the corresponding key and value will be cached locally, and the collected events will include the cached ID information.
sensors.loginWithKey(String loginIDKey, String loginId);
Multiple User ID Association
Used when associating multiple user IDs. The first parameter is obtained from the detailed preset ID key list. The second parameter is the corresponding associated user ID.
After calling the interface, the corresponding key and value will be cached locally, and the collected events will include the cached ID information.
sensors.bind("$identity_mobile","187****8991")
Multiple User ID Disassociation
Used when disassociating multiple user IDs. The first parameter is the disassociation key, and the second parameter is the corresponding user ID to be disassociated.
After calling the interface, relevant unbinding events will be sent, and the key-value in the local cached ID information will be cleared (if it exists).
sensors.unbind("$identity_mobile","187****8991")