Before you begin
You’ll need:- A Vero account with API credentials (found in Settings > Tracking API Keys)
- Access to your website or application code (or a tag manager)
Integration options
There are several ways to send data to Vero:| Method | Best for |
|---|---|
| JavaScript library | Websites and web applications |
| Segment | Teams already using Segment for data collection |
| Rudderstack | Teams already using Rudderstack for data collection |
| REST API | Backend systems and server-side tracking |
Install the JavaScript library
The JavaScript library is the recommended way to track users and events from your website.1. Add the tracking snippet
Add the following code before the closing</head> tag on every page of your website:
YOUR_API_KEY with your API key from Settings > Project in Vero.
You can also install the snippet using Google Tag Manager or another tag management system.
2. Identify users
Call theuser method when a user logs in, signs up, or otherwise provides their email address:
id field should be a unique identifier for the user in your system. The email field is required to send email campaigns.
You can include any additional properties you want to store on the user profile, such as plan, company, or signup_date.
3. Track events
Call thetrack method whenever a user performs an action you want to capture:
Event naming tips
- Use consistent naming conventions (e.g.,
Viewed productorviewed_product) - Vero treats different capitalizations and spaces/underscores as the same event
- Choose descriptive names that your team will understand
Using the REST API
For server-side tracking or backend systems, use the Track API directly:Verify your setup
Once tracking is installed:- Trigger a test event on your website
- Navigate to Data > Events in Vero
- Confirm your event appears in the events list
- Click on the event to view recent occurrences and properties

