Visitor identification and retention, co-founder & CTO
Geysera
The company I co-founded and lead as CTO. Geysera Signal turns anonymous website traffic into named, intent-scored contacts in a team's CRM or email tool, and a retention agent runs email for online stores and measures whether it caused the sales.
what it does
Names visitors by company or by person
Company-first for B2B pipeline, person-first for DTC, from one script tag.
Intent that learns, and resists bots
Page weights learned from first-time buyers; repeat hits earn less, and value halves every 14 days.
Lift is measured against a holdout
A stable tenth of each audience gets nothing, and every campaign is judged against it.
No query without its tenant
A structural test fails the build on any query with no tenant filter and no recorded reason.
every query, read by a test
SELECT * FROM integrations WHERE tenant_id = $1 AND platform = $2names its tenant
a query with no tenant filter“If it is not, it is a cross-tenant leak.” The build fails.
DELETE FROM signal_enrichment_resultsreviewed: “releases a claim by the UUID _reserve_claim generated locally; never user input”
and an exception that matches no query fails too

The problem
Most visitors to a store or a software site leave without a name, and the email that does go out usually takes credit for purchases that would have happened anyway. Geysera works on both ends. Signal finds out who visited and how interested they are; the retention agent decides what to send and measures whether it worked. Both pull from many stores, email tools and identity sources, and both have to keep every customer’s data strictly apart.
How it fits together
- Signal pixel on a customer site to Resolution: company-first, person-first: “visits”
- Resolution: company-first, person-first to Postgres, every row keyed to a tenant: “named visitors”
- Shopify, WooCommerce, BigCommerce to Temporal workers on ECS: “orders, carts”
- Temporal workers on ECS to Postgres, every row keyed to a tenant: “rows, one tenant each”
- Postgres, every row keyed to a tenant to Intent scoring
- Intent scoring to HubSpot, Klaviyo, Mailchimp, Slack, Teams: “alerts, syncs”
- Temporal workers on ECS to HubSpot, Klaviyo, Mailchimp, Slack, Teams: “flows, audiences”
- Postgres, every row keyed to a tenant to Holdouts, incrementality, attribution
What I built
Signal starts with one async script tag. I resolve each visit two ways at once: company-first, from reverse-IP to firmographics to the likely person, for B2B pipeline; and person-first, an identity-network match to a verified email, for DTC list growth.
A named visitor is only useful with a reason to reach out. Intent scoring weights each page a customer marks as meaningful, and I made the weights learn from that customer’s own buyers: a page’s lift among first-time buyers who read it before ordering, with an exact Clopper–Pearson interval, so a weight moves only when the data contradicts it, and a weight the customer pinned always wins. Repeat hits on the same kind of page earn less, so a bot cannot run up a score, and a visit’s value halves every 14 days. High scores become Slack or Teams alerts and a Monday recap, and named people sync to HubSpot, Klaviyo or Mailchimp, or leave through webhooks, CSV and an API.
The retention agent runs cart, browse and checkout abandonment and win-back flows for stores on Shopify, WooCommerce and BigCommerce, sent through Klaviyo, Mailchimp, SendGrid or HubSpot. With two identity sources, LiveIntent and Enrich.so, that makes nine integrations behind one adapter shape. I run syncs, flows and audience runs as Temporal workflows because they are long-running jobs against rate-limited APIs. A workflow survives a restart and retries only the step that failed.
Measurement is the point on both sides. Every campaign keeps an always-on holdout, a stable hashed tenth of the audience that gets nothing, and incrementality is tested against it. Thompson sampling over Beta posteriors chooses between copy variants, Shapley values attribute revenue across touches, and a copilot answers questions about a customer’s own data, with every number checked against the tool output it came from.
Every query names its tenant, and a test holds that line: it reads every SELECT, UPDATE and DELETE in the API and the workflow workers and fails the build on one with no tenant filter, unless it is a reviewed exception with its reason written down. Postgres row-level security sits behind it. Services run on AWS ECS, and each deploy ends by asking the running service which commit it is serving.
How it turned out
Live at geysera.com and deployed on AWS, with Signal and the retention agent running on their integrations, workflows and measurement. Customer counts, match rates and campaign lift stay private; this page documents the architecture and measurement design.
Visit geysera.comWritten about it
- Defend where data changes roleI review my agents for security where data changes role. Reviews found a NaN that became LIMIT NULL and a swapped path check. Boundary-specific checks held where tested—four layers for SQL, with other boundaries still needing attack suites.12 min read
- When a copilot should say “I can’t know”Letting an LLM copilot answer “did X cause Y?” honestly took a Bayesian model, a shared causal matcher and disclosing an auto-chosen date—plus naming what the linear model still misses.13 min read
- Fallbacks that fail loudlyFallbacks should fail loudly. Five, each written for a real failure, made outages look like success. Three questions for code that answers when it can’t know.15 min read
- Gates that must be able to failA gate is only as good as its evidence. Five in my coding loop read a proxy, two of them one the loop wrote itself. Breaking the work on purpose shows which.15 min read
Built with
- Python
- FastAPI
- PostgreSQL
- Temporal
- LangGraph
- Next.js
- AWS ECS