Reidentify (alias) customers in Vero
Before reading this article, we recommend you read Creating and Matching Vero customers IDs to get a full understanding of how Vero manages customer IDs.
Vero uses a unique
identifier to record each customer in your Vero database. Vero’s
alias, endpoint allows you to update this unique identifier.
identifier must be assigned to a User when they are added to Vero. This is typically a custom string or an an email address.
An example, typical use case for the
reidentify method is when a customer is added to Vero from your public website before they have been assigned a unique identifier in your database (typically after a customer signs up). In this scenario, most people assign the new customer a random
identifier or use their email as the
Once a customer signs up, you will typically want to
reidentify that customer so that they are identified using their database-assigned ID.
Our API reference has the full details of the
_veroq.push(['reidentify', 'new_id', 'old_id']);
This will take the cookie that currently identifies a customer and reassign that cookie to use the
new_id you’ve specified. It will also update the customer’s record in your Vero database.
reidentified you can safely refer to the customer using their new, assigned, ID with the standard
Didn't find what you were looking for?
Get in touch, we're always happy to help. Email us at: firstname.lastname@example.org