Overview
Use these queries as starting points for analysis in BigQuery. Replaceyour_project with your BigQuery project ID (e.g., sm-yourcompany) and your-sm_store_id with your store identifier.
If you’re not sure which table to use, start with: obt_orders and obt_order_lines.
Browse by Category
Marketing & Ads
CAC, platform ROAS, campaign-type performance, and marketing efficiency analysis.
Messaging
Email and SMS campaign/flow performance, list growth, and engagement analysis.
Funnel
Funnel progression, drop-off, and conversion-rate analysis.
Journeys & Lead Capture
Touchpoint journeys, lead capture quality, and conversion timing.
Customers & Retention
First vs repeat behavior, retention, and customer lifecycle patterns.
Products
Product-level performance, assortment, and bundle analysis.
Orders & Revenue
Revenue composition, order quality, refunds, and channel-mix trends.
LTV & Retention
Cohort value, payback, and long-term customer economics.
Attribution & Data Health
Attribution coverage, tracking quality, and data reliability checks.
Customer Support
Ticket volume, handle time, resolution quality, and support trends.
Quick Links
| Category | Topics |
|---|---|
| Marketing & Ads | CAC, ROAS by platform, ROAS trends |
| Messaging | Email/SMS performance, flows vs campaigns, list growth |
| Funnel | Funnel step counts, conversion rates, top converting pages |
| Journeys & Lead Capture | Lead capture → purchase timing, landing pages, first vs last touch (MTA) |
| Customers & Retention | First vs repeat orders, repeat rates by source, new vs repeat trends |
| Products | Top products by revenue/units, gateway products, product combos |
| Orders & Revenue | AOV by channel, subscription revenue, refund rates, sales channel mix |
| LTV & Retention | Cohort LTV, payback period, LTV:CAC, repeat purchase rates, 90-day LTV by product |
| Attribution & Data Health | Table freshness, UTM coverage, fallback signals, click-id coverage, tracking regressions |
| Customer Support | Ticket volume, one-touch rate, resolution time, CSAT |
Most examples default to the last 30 days for performance and “current state” analysis. Adjust the timeframe and add
sm_store_id scoping when needed.
