Skip to main content

Quote System Tracking

The quote calculator includes comprehensive tracking for analytics and lead qualification.

What's Tracked

Calculator Interactions

  • Project type selections
  • Feature selections
  • Complexity level
  • Timeline selection
  • Price estimates

User Information

  • IP address
  • Geolocation (country, city, region)
  • User agent
  • Browser language
  • Referrer

Form Data (if user starts filling)

  • Email address
  • Phone number
  • Name
  • Company
  • Browser details
  • Device type
  • Operating system
  • Screen resolution

Privacy

  • Cookie consent required for detailed tracking
  • Server-side data (IP, user agent) always collected
  • Client-side data only with consent
  • Geolocation from IP (no GPS)

Data Storage

All tracking data is stored in Sanity CMS as quoteSubmission documents.

API Endpoints

  • /api/quote/track - Real-time interaction tracking
  • /api/quote/submit - Final submission with full tracking

Next Steps