Skip to main content
MetrixStack
Under the Hood

Built for the answer,
not the guess.

Every e-commerce brand runs on the same broken loop: ad platforms over-report revenue, email tools claim the same orders, and your spreadsheet picks a winner based on gut feel.

MetrixStack breaks the loop. Instead of aggregating platform claims, we trace every order back to its actual source — deterministically, in real time, with a full audit trail. No models. No estimates. No politics.

The Pipeline

From raw event to trusted number — in under 15 minutes

01
Sources
Shopify orders, Meta campaigns, Klaviyo flows, pixel events, SMS conversions — pulled via official APIs on a 15-minute sync cycle.
02
Normalize
Raw records land in typed tables. Order numbers, UTM strings, pixel IDs, and timestamps are cleaned, deduplicated, and indexed.
03
Attribute
A six-step deterministic waterfall assigns every order to an owning agency. The reason is written to the row — permanently auditable.
04
Aggregate
Revenue, ROAS, COA, refund rates, and fees roll up in real time across brand, agency, channel, and date dimensions.
05
Surface
Your dashboard reflects the latest sync. Charts, tables, and the Pulse Check insights engine update with every data refresh.
Sync runs every 15 minutes. Priority Sync runs every 5.
The Stack

Every layer chosen for a reason

No trendy abstractions. No serverless cold-starts. No ORM hiding what the database is actually doing. Each technology earns its seat at the table.

Node.js 20 + Fastify
A runtime and framework built for throughput, not ceremony. Fastify handles thousands of requests per second with sub-millisecond overhead. Our sync workers run as lightweight in-process loops — no queue infrastructure required at this scale.
Speed
🗄️
PostgreSQL 16
Financial data lives in a relational database. Always. Postgres gives us ACID transactions, typed columns, window functions for cohort math, and the confidence that a sync crash won't leave your numbers in an inconsistent state.
Reliability
🔒
AES-256-GCM Encryption
Every integration credential — API keys, OAuth tokens, access secrets — is encrypted at rest before it touches the database. The encryption key never leaves the server environment. Decryption happens in memory, per-request, with authenticated encryption to detect tampering.
Reliability
🖥️
Server-Rendered EJS + HTMX
No single-page app. No JavaScript bundle to parse before the data appears. Pages render on the server and arrive complete. HTMX handles partial swaps for charts and table filters without shipping a client-side framework.
Speed
🐳
Docker + Nginx
Containerized deployments mean every environment — staging, production — runs identically. Nginx terminates TLS at the edge, handles static assets with long-cache headers, and proxies to the app container with zero configuration drift.
Reliability
🎯
Deterministic Attribution Engine
No probabilistic model. No black-box score. A six-step waterfall — pixel fbclid → ad-level UTM → campaign UTM → agency pattern → channel route → default — resolves every order. The attribution source is written to the row and never changes retroactively without an explicit re-derive.
Accuracy
Integrations

Every platform your revenue touches

We connect to the authoritative source for each data type — not a reseller, not a scraper. Official APIs, official scopes, official rate limits respected.

Commerce
Shopify
GraphQL Admin API · orders, refunds, discounts, products, customers
Advertising
Meta Ads
Marketing API · campaign, ad set, and ad-level spend + Meta-attributed purchases
Google Ads Soon
Campaign and keyword level spend · ROAS
TikTok Ads Soon
Campaign + creative performance
Email & SMS
Klaviyo
Campaigns, flows, flow messages · Klaviyo-attributed revenue per send
TxtCart
SMS recovery campaigns · conversion attribution
Shipping & Ops
ShipEngine
Label cost per order · actual vs customer-paid shipping delta
ReCharge Soon
Subscription revenue and churn tracking
Analytics
Google Analytics 4
Session and conversion event cross-reference
Google Search Console
Organic impression and click data
First-Party
MetrixStack Pixel
Server-side pixel endpoint · visitor ID cookie · Shopify Customer Events native install
Live Coming soon
Artificial Intelligence

AI where it helps. Determinism where it counts.

We are deliberate about this distinction. Attribution logic is deterministic and auditable — an AI model will never silently reassign a $40K revenue month to the wrong agency. But AI accelerates everything around the core: development velocity, operational intelligence, and insight surfacing.

In the Build

We ship at a pace most teams can't match

MetrixStack is developed with AI-assisted engineering. Every feature is speced, written, reviewed, and tested with AI as a full participant in the development loop — not as an autocomplete tool, but as a collaborator that holds context across thousands of lines of code simultaneously.

  • Full features ship in hours, not sprints
  • Every database migration is reviewed for safety before it runs
  • Tests are written alongside code, not after the fact
  • Edge cases caught before they reach production
  • The codebase refactors continuously — no entropy accumulation
Speed
In the Product

Intelligence that surfaces what the numbers can't say alone

Inside MetrixStack, AI works as an interpretation layer on top of verified data. It can't corrupt the source — but it can tell you what to look at next.

  • Pulse Check: pattern recognition across revenue, ROAS, and refund signals
  • Anomaly flags when a campaign's ROAS drops faster than expected
  • Agency-level performance narratives generated from the same numbers you see in charts
  • Natural-language query layer on your own data (in development)
  • Predictive ROAS trending based on historical spend curves (roadmap)
Accuracy
Operational AI

The entire company runs on AI-assisted operations

It's not just the product. Every layer of how we operate — customer support, analytics reporting, infrastructure orchestration — is augmented by purpose-built AI agents that we control and maintain.

Customer Intelligence
Inbound support is triaged, classified, and routed by an AI agent trained on our product. It surfaces context before a human ever opens the ticket.
Analytics Reporting
A dedicated analytics agent monitors dashboards, detects anomalies, and publishes weekly performance summaries — without being asked.
Infrastructure Orchestration
Deployments, health checks, sync monitoring, and incident detection run through AI-augmented pipelines that catch problems before they compound.
The Bottom Line

The numbers don't lie.
We make sure of it.

Built for operators who need the truth faster than their competition acts on guesses. Reliable infrastructure. Real-time data. Attribution you can stake a budget on.