Features
Identify users
Set a user ID to correlate sessions with users for debugging. Persisted across app launches. Recommended to avoid PII.
Correlating sessions with users is critical for debugging certain issues. You can set a user ID which can then be used to query sessions on the dashboard.
Note that the User ID is persisted across app launches automatically.
It is recommended to avoid the use of PII (Personally Identifiable Information) in the user ID like email, phone number or any other sensitive information. Instead, use a hashed or anonymized user ID to protect user privacy.
Android
To set a user ID.
Measure.setUserId("user-id")To clear a user ID.
Measure.clearUserId()iOS
To set a user ID.
Measure.setUserId("user-id")To clear a user ID.
Measure.clearUserId()Flutter
To set a user ID.
Measure.instance.setUserId("user-id");To clear a user ID.
Measure.instance.clearUserId();React Native
To set a user ID.
import { Measure } from '@measuresh/react-native';
Measure.setUserId({ userId: "user-id" });To clear a user ID.
Measure.clearUserId();Think this page can be better?
Open an issue