Start a conversation

User Identify Function

As of April 30th 2019, this documentation has been migrated to developers.customersuccessbox.com

This documentation will be maintained on an ongoing basis at the new home.

analytics.identify (UserId, Traits)

This function call is used to update or add new details of the User. You can also log optional custom parameters(traits) during the session as well. If you have no additional predefined or custom parameter to update for the given user, there is no need to call this function, since UserID is already set as part of the analytics.login function call.

analytics.identify("<#UserID>", {
                                 parameter_1: "String",
                                 parameter_2: Integer,
                                 parameter_3: Integer,
                                 parameter_4: Date,
                                 ...
                                 parameter_n: Integer
                                });
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Puneet Kataria

  2. Posted
  3. Updated

Comments