Visitors
Track anonymous website visitors before they become known contacts. See their journey and behavior, score them based on engagement, and automatically link them to contact records once they're identified.
Features
- Visitor tracking: Monitor page views and sessions
- Event tracking: Custom events and conversions
- Journey visualization: See the path visitors take
- Conversion tracking: Know when visitors become contacts
- Lead scoring: Score visitors based on behavior
Setting Up Tracking
Install the Tracking Script
Tracking is scoped to your organization via the org_id query parameter. The base URL is your API origin. Add this single tag to your website's <head>:
<script src="https://api.expedify.ai/api/tracker.js?org_id=YOUR_ORG_ID"></script>
Replace YOUR_ORG_ID with your organization's ID. All visitor data captured by this script is automatically associated with your organization.
Configure Your Domain
- Go to Settings > Integrations > Tracking
- Add your website domain
- Copy your organization ID
- Enable tracking
What Gets Tracked
Automatic Tracking
| Data | Description |
|---|---|
| Page views | URLs and titles |
| Time on page | Duration of visits |
| Referrer | Where they came from |
| Device info | Browser, OS, device type |
| Location | Country, city (from IP) |
| UTM params | Campaign attribution |
Custom Events
Track specific actions using the ExpedifyTracker global:
ExpedifyTracker.track('click', 'button_click', 'Sign Up Button', 1, { page: '/pricing' });
A function-style compatibility API is also available:
window.expedify('track', 'button_click', { page: '/pricing' });
window.expedify('pageview');
Examples of useful custom events:
- Button clicks
- Video plays
- Downloads
- Scroll depth
Viewing Visitors
Visitors List
Navigate to CRM > Visitors to see:
- All tracked visitors
- Visit count
- Last seen
- Page views
- Location
Visitor Detail
Click a visitor to see:
- Complete journey timeline
- All page views
- Events
- Session data
Converting to Contacts
When a visitor submits a form, signs up, or is identified via email, they're automatically linked to a contact record with their full history. Future visits are then tracked under that contact.
Automatic Identification
When a visitor submits a form:
- Visitor becomes identified
- History linked to contact
- Future visits tracked under contact
Manual Identification
Use JavaScript to identify known visitors with the ExpedifyTracker global:
ExpedifyTracker.identify({ email: 'user@example.com', name: 'John Doe', phone: '+1234567890', plan: 'premium' });
The function-style compatibility API also supports identify:
window.expedify('identify', 'user@example.com');
Lead Scoring
Score visitors based on behavior:
| Behavior | Points |
|---|---|
| Page view | +1 |
| Pricing page | +10 |
| Multiple visits | +5 each |
| Form start | +15 |
| Form submit | +25 |
Configure scoring in Settings > Lead Scoring.
Automation
Trigger workflows based on visitor behavior:
- High engagement - Many page views
- Pricing page visit - Hot lead
- Return visitor - Interested prospect
- Specific page - Targeted content
Privacy Compliance
GDPR/CCPA
- Tracking respects DNT headers
- Cookie consent integration
- Data retention controls
- Anonymization options
Cookie Consent
Integrate with your consent manager so the tracker only loads after the visitor grants consent. Inject the script tag conditionally:
// Only load the tracker after consent
if (hasConsent) {
var s = document.createElement('script');
s.src = 'https://api.expedify.ai/api/tracker.js?org_id=YOUR_ORG_ID';
document.head.appendChild(s);
}
Best Practices
- Track key pages - Focus on conversion pages
- Use UTM params - Track campaign sources
- Set up events - Track meaningful actions
- Automate follow-up - React to engagement
- Respect privacy - Comply with regulations
Next Steps
- Forms - Capture and identify visitors
- Segments - Segment by behavior
- Automation - Trigger workflows