1. Choose an Installation Method
You can install Userpilot using:- JavaScript Snippet β Directly embed Userpilot in your app.
- Segment Integration β If youβre already using Segment.
- Google Tag Manager (GTM) β Deploy Userpilot via GTM.
2. Plan User & Company Properties + Events
Before installing Userpilot, decide: β User Properties β What user data will help segment and personalize experiences? (e.g., name, email, signup date).β Company Properties β If youβre working with teams, what company data should be tracked? (e.g., company name, plan type).
β Tracked Events β What key actions should be monitored in Userpilot? (e.g., button clicks, feature usage). Define these before implementation for an optimal setup.
3. Install Userpilot via JavaScript
Step 1: Add the Script
Place this in the<head> section of every page:
html
"Your_App_Token" with your actual App Token from the Userpilot dashboard.
Step 2: Identify Users
- Multi-Page Applications (MPAs) β Call
userpilot.identify()on each page load. - Single Page Applications (SPAs) β Call
userpilot.identify()once after authentication.