Product analytics
See revenue, AI costs and X mentions
Connect your data to understand revenue and AI costs. Monitor X mentions with just your website.
Learn
Learn how to measure revenue, track AI costs and read your results. Each guide explains the data you need and what it can tell you.
First principles
Product analytics
Connect your data to understand revenue and AI costs. Monitor X mentions with just your website.
AI discovery
Keep recommendations, citations, crawler requests, referral visits, and revenue as separate observed signals.
Decision guide
Use traces to debug model behavior and customer economics to debug the business.
Join customer payments and AI usage cost for the same people and period, and keep unmatched cost unallocated.
Define the unit, the revenue, the variable model cost, and the contribution profit.
Keep the numerator, denominator, time window, and customer population aligned.
Price cached and uncached tokens, failures, retries, and streaming usage correctly.
Cost needs observed revenue and a trustworthy identity link before it becomes customer profit.
Use each metric for the decision it can actually support.
Join payer identity and model usage without spreading unknown cost across every account.
Server recipe
Measure final streamed usage by account without collecting prompts or responses.
Server recipe
Keep cache reads, five-minute writes, and one-hour writes separate by customer.
Methodology
Audit the effective price, billing mode, and fail-closed boundary behind every cost.
Revenue recipe
Join Stripe customer revenue to AI usage through a stable internal account—not email.
Revenue recipe
Connect store-scoped Lemon orders, refunds, and AI usage without guessing identity.
Practical methodology
Reconcile OpenAI usage and Stripe revenue by customer with tested SQL. Keep refunds, mixed currencies, duplicate joins and unknown costs explicit.
Practical methodology
Verify browser visits, server AI usage, payer identity, and data boundaries with a practical Grow or Die SDK checklist. GA4 is optional, not a prerequisite.
Practical methodology
Separate AI citations, crawler requests, human referrals, and observed revenue with a practical evidence checklist and a reproducible reporting example.
Practical methodology
Calculate the AI usage budget of a free-trial cohort with activation, conversion, paid contribution, and incomplete-cost boundaries made explicit.
Prefer the live formula?