Customers
We are no longer updating this site. For user documentation, please go to User Docs. For developer documentation, please go to Developer Docs. If you have any questions or feedback, please submit a ticket.
Customers are central to Zaius' operation. You can find out more about how they are managed at the Zaius Documentation.

Updating Customer Information

In order for Zaius to operate, it's important to make sure that it is operating with the most relevant information it can. You can use Zaius.customer() to make sure you have good information about a Customer.
Zaius.customer(
{
... // identifiers
},
{
... // attributes
}
)
Identifiers will be explained below.
Attributes are bits of information about the customer, like first/last name, phone number, gender, etc.

Updating Customer Identifiers

Zaius will use all information available to it in order to coalesce events into a single customer record when possible. This process can be aided by adding identifying information directly. This is done with Zaius.identify()
Zaius.identify({
...
})
The content of the document is fairly freeform, but will automatically have the VUID generated for this user included. This document can include other fields like email address that are more fully documented in the Zaius Customer Documentation.
This function call is effectively the same as Zaius.customer({...}, {})
One of the ways Zaius maintains a customer's identity through various email, name, phone number, etc changes is by using a unique identifier called the VUID. This value is maintained internally and is sent automatically with all requests. The VUID isn't normally visible to end users. The VUID isn't even really directly important to the users of the SDK except to know that it exists and that it is used to identify Customers across account updates.