Skip to main content

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

  1. Go to Settings > Integrations > Tracking
  2. Add your website domain
  3. Copy your organization ID
  4. Enable tracking

What Gets Tracked

Automatic Tracking

DataDescription
Page viewsURLs and titles
Time on pageDuration of visits
ReferrerWhere they came from
Device infoBrowser, OS, device type
LocationCountry, city (from IP)
UTM paramsCampaign 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:

  1. Visitor becomes identified
  2. History linked to contact
  3. 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:

BehaviorPoints
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

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

  1. Track key pages - Focus on conversion pages
  2. Use UTM params - Track campaign sources
  3. Set up events - Track meaningful actions
  4. Automate follow-up - React to engagement
  5. Respect privacy - Comply with regulations

Next Steps