User Identification
Logs a user_identify event and attaches the user's attributes to the user_properties of this and every subsequent event. Each call replaces the previous user entirely, and nothing is persisted across restarts, so call it again on every launch.
sdk.setUser(
B2MUser(
userId = "user_123",
name = "Ahmet",
email = "ahmet@example.com",
customAttributes = mapOf("plan" to "premium")
)
)
Note
Collected device properties always win a key collision with a custom attribute.