Skip to content

PulsegateEdge Lead Capture & Visitor Analytics

Cloudflare Worker powering real-time lead capture, dynamic forms, visitor tracking, and lead scoring

SectionWhat you'll find
OverviewArchitecture — source layout, request flow, bindings, storage. Deployment — production runbook and launch checklist. Changelog — release history.
API ReferenceAPI overview — all endpoints in one place. Then: Tracking (session/start, event, batch, session/end), Analytics, Lead capture, CRM Callback, CRM Webhook, Forms config.
FeaturesFeatures overview — links by topic. Lead capture, Form builder, Visitor tracking, Session replay, Engagement & fraud, IP & Settings, Marketing access.
AnalyticsPayloadJson (submission analytics), Workers Analytics Engine (dashboard charts).
UX & DesignDesign system — tokens, components, and patterns used across the app. Sales CRM UX guide — consistency for CRM (tables, side panel, filters, modals).
MigrationsR2-first events — event storage design.
PlanningLead 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.


What is Pulsegate?

A Cloudflare Worker deployed at the edge with three core systems:

Lead Capture

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.

Dynamic Form Builder

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.

Visitor Tracking

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.

Stack

ComponentTechnology
RuntimeCloudflare Workers (ESM, Wrangler v4)
LanguageTypeScript
DatabaseCloudflare D1 (SQLite at the edge)
CacheCloudflare KV (real-time counters)
StorageCloudflare R2 (raw event logs)
TestsVitest + @cloudflare/vitest-pool-workers
DocsVitePress

Environments

EnvironmentWorker Name
Developmentpulsegate-development
Productionpulsegate