Initialize the SDK
Place the following JavaScript in the<head> section of your HTML. We recommend including this on every page.
Insert an active Vero API key. You can manage your API keys under Settings in your Vero Cloud account.
Add or update a user
When adding a user, either anid or email value is required. All other attributes are optional and customizable.
Track an event
An event represents a user action in your application. You do not need to pass anidentity object as outlined in the Track REST API. Instead, you must call the identify SDK method above. A cookie is then stored and this identity is used by the SDK to form the full API request for you.
extras object as outlined in the Track REST API:
Alias / merge a user
The alias method merges two user identities into one. This is an advanced method and may have unintended consequences. Please get in touch if you have questions regarding its usage.Add or remove tags
Tags are one way to assign states or temporary attributes to users. For new use cases we encourage you to update a user attribute rather than use a tag.Unsubscribe and resubscribe
Supply the user’sid. In this example, 123 is the id.

