Customer

Call customer to send a new customer or update to Zaius. If a customer id is supplied in the identifiers, it will be associated with any future events in the same web session. The customer function includes the vuid (cookie id) on all requests automatically. To make updates that do not include the vuid, use the legacy attributes function.

The first object in the array contains any known identifiers. The second object in the array contains customer attributes, including any custom attributes available in the account.

zaius.customer({
customer_id : "123",
email: "johnny.zaius@zaius.com",
},{
first_name: "Johnny",
last_name: "Zaius",
gender: "M"
});