User Identification in Events
How to Cross-Reference Information to Identify the User
In many operational scenarios, identifying the user responsible for an event is essential for analysis, contextual actions, and auditing. Below we show the available approach to perform this identification based on secure technical practices compatible with privacy guidelines.
Defining a remote_id
This function expects a String parameter that represents the id associated with the device. This value is a customizable identifier you can use to manage or label events for a specific user or context.
We strongly recommend not using sensitive information in the remote_id. Instead, use unique identifiers that are properly encrypted or obfuscated. For example, using the user's session-id is a safer approach that helps ensure security and privacy when identifying devices.
Setting user remote_id
1class App : Application() {2 override fun onCreate() {3 super.onCreate()4 ...5 GroupLink.setRemoteId(context, remoteId);6 }7}