Start a conversation

Account Function

analytics.account (AccountId, Traits)

This function call is used to update or add new details of the Account. 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 account, there is no need to call this function, since AccountID is already set as part of the analytics.login function call. 

analytics.account("<#AccountID>", {
                                   custom_1: “String Value”,
                                   custom_2: “String Value”,
                                   custom_n: “String Value”
Choose files or drag and drop files
Was this article helpful?
  1. Puneet Kataria

  2. Posted
  3. Updated