All workFILE 30 / 44

B2B marketing

A visitor knowledge graph over cookieless first-party analytics

Shipped for A B2B demand-generation company

~1,650 / ~2,700

nodes / edges projected on the first syncB2B DEMAND-GENERATION COMPANY

01

The problem

The site collected cookieless first-party analytics, but nobody could see what a visitor or a lead had actually done across sessions.

THE MACHINE

02

The system

A standalone, auth-gated Next.js 16 app that syncs the site's analytics export with keyset cursors into landing tables (Drizzle on Postgres) with crash-safe resume, projects them into an Apache AGE graph of 9 node labels and 10 edge types, and serves SQL dashboards and a Cypher graph explorer: visitor journeys, leads with stitched attribution, campaign performance, and which AI crawlers read the site.

FIG. 01 · SYSTEM FLOW · 7 NODES · 6 FLOWS

System diagram: 7 nodes and 6 directed flows.

  • SOURCE

    • site analytics export
  • ACTION

    • sync worker · cursors
    • journeys, leads, campaigns
    • graph explorer
    • AI-crawler view
  • STORE

    • landing tables
    • graph · 9 labels, 10 edge types

FLOWS

  1. site analytics export to sync worker · cursors
  2. sync worker · cursors to landing tables
  3. landing tables to graph · 9 labels, 10 edge types
  4. landing tables to journeys, leads, campaigns
  5. graph · 9 labels, 10 edge types to graph explorer
  6. landing tables to AI-crawler view
Available when animations are enabled.

MEASURED, NOT CLAIMED

03

The outcome

On its first sync against live data it projected a ~1,650-node, ~2,700-edge graph in about a second. The graph is fully derived, so it can be rebuilt at any time without refetching.

FIG. 02 · WHAT IT PRODUCED The SQL dashboards beside the graph explorer: visitor journeys, leads with stitched attribution, campaign performance and which AI crawlers read the site. Illustration with placeholder values; no client data.