User attributes
User ID vs custom properties
User ID
Custom properties
Setting the user ID
amply.setUserId("user_7391")
// On sign-out
amply.setUserId(nil)amply.setUserId("user_7391")
// On sign-out
amply.setUserId(null)import Amply from '@amplytools/react-native-amply-sdk';
Amply.setUserId('user_7391');
// On sign-out
Amply.setUserId(null);Setting custom properties
Set one property
Set many at once (preferred for multiple updates)
Read a property
Remove a property or clear everything
Accepted value types
Platform
Accepted custom property value types
Batching — don't call in a tight loop
What the dashboard sees
Related
Last updated