Skip to content

Product analytics your agent can run

Your events and user identities land in SQL tables, ready to join with account and billing data.

Ask about user behavior or let Cousteau spot changes

“Which checkout step lost the most users after our last release?”

Claude or ChatGPT

Connect through MCP and ask for a chart of checkout drop-off by plan.

Slack

Ask @Altertable where users dropped off, then follow up in the same thread.

Cousteau

Cousteau monitors checkout conversion, investigates drops, and reports which accounts were affected.

Product analytics

See which accounts dropped out at checkout

Once you know where users stopped, join their events to customer records. Your agent can show whether the drop was concentrated in trial accounts or whether paying customers hit the same step.

See which accounts dropped out at checkout
Fill gaps in event tracking
Fill gaps in event tracking

When Cousteau finds a missing purchase event, it can open a pull request to track it with your SDK. Your own coding agent can also add tracking with Altertable’s instrumentation skill.

Query the rows behind a metric
Query the rows behind a metric

Inspect individual events, or query the identity-resolved views to count the same person across visits. Your funnels, retention charts, and SQL queries all use those rows.

See which accounts are affected
See which accounts are affected

Join a user’s events to their account in Postgres or their subscription in your warehouse. Break down conversion by plan using the billing data you already maintain.

Keep the full event history
Keep the full event history

Pricing follows storage, compute, and AI usage. There’s no per-event or per-user fee, so you can keep the steps between signup and purchase for the next investigation.

From an SDK call to a row you can query

track() records what happened. identify() connects those actions to a user. Here’s how a single query finds purchases and the account and plan behind each one.

Product analytics

Application SDKs

track() + identify()

Web, mobile, server, and Segment payloads write to the events and identities tables.

  • identify user_72

    organization_id=acct_acme · [email protected]

  • track "Purchase"

    distinct_id=user_72 · currency=USD · source=checkout

  • track "Signup"

    distinct_id=user_21 · method=sso · source=web

Altertable lakehouse

Product analytics views

Hosted

analytics.events

analytics.identities

Business context

Federated

postgres.public.accounts

postgres.public.subscriptions

Purchases by account and plan

4-table JOIN
SELECT e.timestamp, e.event, a.name, s.plan
FROM product_analytics.analytics.events AS e
JOIN product_analytics.analytics.identities AS i
 ON e.identity_uuid = i.uuid
JOIN postgres.public.accounts AS a
 ON (i.traits ->> 'organization_id') = a.id
JOIN postgres.public.subscriptions AS s
 ON s.account_id = a.id
WHERE e.event = 'Purchase'

Your event tables can replace a dedicated analytics tool

Funnels, sessions, and journeys return rows you can use in any SQL query. Join the users who completed a funnel to their invoices, sum revenue by plan, and chart the result in Claude, ChatGPT, or the Altertable app.

MATCH_RECOGNIZE

Who went from signup to purchase?

Find a signup followed by a purchase within one day. Other events can occur between the two steps. Each match gives you the user and the time of purchase.

funnels.sql
WITH events AS (
SELECT identity_uuid, timestamp, uuid, event
FROM product_analytics.analytics.events
WHERE identity_uuid IS NOT NULL
)
SELECT *
FROM events
MATCH_RECOGNIZE (
PARTITION BY identity_uuid
ORDER BY timestamp, uuid
MEASURES B.timestamp AS purchased_at
PATTERN (A C* B) WITHIN INTERVAL 1 DAY
DEFINE
A AS event = 'Signup',
B AS event = 'Purchase',
C AS event <> 'Purchase'
);

Explore the rest of the platform

More workloads on the same engine, governance, and pricing.

Context Lakehouse

Context Lakehouse

Query data where it lives or store it in Altertable. Use DuckDB to join connected sources with open Parquet tables in a single SQL query.

AI Data Agents

AI Data Agents

Ask Altertable a data question, delegate a pipeline, or connect your own agent through MCP. Cousteau investigates changes between requests.

Data Apps

Data Apps

Build interactive tools over your lakehouse with SQL and React. Give your team filters, drilldowns, and forecasts they can explore for themselves.

Send your first product event

DuckDB workers on open formats, federated SQL across your existing systems,
and an MCP server for agents — at flat monthly pricing.