Analytics Service
Component Detail
Service Layer
low complexity
frontend
0
Dependencies
2
Dependents
0
Entities
0
Integrations
Description
Lightweight client-side analytics integration using Plausible or Vercel Analytics to track page views, CTA interactions, and conversion funnel events across the sales website without requiring cookie consent banners.
analytics-service
Responsibilities
- Initialize analytics provider script on page load (Plausible or Vercel Analytics)
- Expose typed event tracking API for page and flow components
- Track named conversion events: hero CTA click, validation flow start, flow completion, demo booking initiated
- Ensure no personal data is collected in event payloads
Interfaces
trackPageView(path)
trackEvent(eventName, properties?)
trackConversion(conversionType)
initialize(config)
Relationships
Dependents (2)
Components that depend on this component