User identification

Modified on Thu, 22 Aug at 1:08 PM

To identify users by a special ID, you can use a method in your application’s code to send an identifier and optional parameters to CUX:


CuxAnalytics.setUserProperties(
            userId = "[email protected]",
            params = mapOf(
                "name" to "John Doe",
                "email" to "[email protected]",
                "plan" to "Trial"
            )
        )


Note: While userId can be any string, we advise against sending email addresses or any other sensitive data as plain text. Instead of using an email address, we recommend identifying users by an internal ID that can be matched with your CRM.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article