PulsegateEdge Lead Capture & Visitor Analytics
Cloudflare Worker powering real-time lead capture, dynamic forms, visitor tracking, and lead scoring
Cloudflare Worker powering real-time lead capture, dynamic forms, visitor tracking, and lead scoring
| Section | What you'll find |
|---|---|
| Overview | Architecture — source layout, request flow, bindings, storage. Deployment — production runbook and launch checklist. Changelog — release history. |
| API Reference | API overview — all endpoints in one place. Then: Tracking (session/start, event, batch, session/end), Analytics, Lead capture, CRM Callback, CRM Webhook, Forms config. |
| Features | Features overview — links by topic. Lead capture, Form builder, Visitor tracking, Session replay, Engagement & fraud, IP & Settings, Marketing access. |
| Analytics | PayloadJson (submission analytics), Workers Analytics Engine (dashboard charts). |
| UX & Design | Design system — tokens, components, and patterns used across the app. Sales CRM UX guide — consistency for CRM (tables, side panel, filters, modals). |
| Migrations | R2-first events — event storage design. |
| Planning | Lead stats & marketing campaigns, Lead stats project phases, Lead queues (future), Lead drought alert, Session replay form masking. |
Use the sidebar (left) to open any page; the nav bar (top) jumps to Architecture, API, Features, Deployment, Changelog.
A Cloudflare Worker deployed at the edge with three core systems:
Accepts form submissions from real estate marketing sites (JSON, form-data, multipart, text) and forwards them to Make.com webhooks for CRM integration. Every lead is enriched with engagement scoring, suspicion detection, and related project tracking.
Injectable script at /form.js that generates configurable lead capture forms on any website. Supports multiple forms per page, Google Ads campaign auto-capture, client-side validation, and theme customization.
A full analytics system that records sessions, page views, clicks, scrolls, and mouse movements. Provides browser fingerprinting, VPN detection, and real estate-optimized engagement scoring — all running at the edge with zero external dependencies.
| Component | Technology |
|---|---|
| Runtime | Cloudflare Workers (ESM, Wrangler v4) |
| Language | TypeScript |
| Database | Cloudflare D1 (SQLite at the edge) |
| Cache | Cloudflare KV (real-time counters) |
| Storage | Cloudflare R2 (raw event logs) |
| Tests | Vitest + @cloudflare/vitest-pool-workers |
| Docs | VitePress |
| Environment | Worker Name |
|---|---|
| Development | pulsegate-development |
| Production | pulsegate |