root HTML head (both buyer and seller apps) · open source (MIT) · ask in plain English

Add analytics to your marketplace Marketplaces.

Marketplace analytics has to watch two sides at once. You need to see whether searches find supply, whether sellers get their first sale, and whether GMV concentrates in a handful of listings. smolanalytics autocaptures both browser sides, joins server-side orders on the same distinct_id, and answers liquidity and take-rate questions in plain English.

root HTML head (both buyer and seller apps)
<script src="https://YOUR-INSTANCE/sdk.js"></script>
<script>
  smolanalytics.init("WRITE_KEY", { host: "https://YOUR-INSTANCE" });
  smolanalytics.identify(userId, { side: "buyer" }); // or "seller" on login
  smolanalytics.track("search", { query, results: n });
</script>

// server, when an order clears (same distinct_id joins the funnel):
// POST /v1/events  Authorization: Bearer WRITE_KEY
// { "name": "order_paid", "distinct_id": "buyer_123",
//   "properties": { "gmv": 42, "seller_id": "s_9", "take": 6 } }

Put the script tags in the head of both the buyer and seller web apps, tag each user's side on identify, and send order_paid from your payments webhook so GMV joins the browser funnel.

how do I add analytics to marketplaces?

Marketplace analytics has to watch two sides at once. You need to see whether searches find supply, whether sellers get their first sale, and whether GMV concentrates in a handful of listings. smolanalytics autocaptures both browser sides, joins server-side orders on the same distinct_id, and answers liquidity and take-rate questions in plain English.

Measure the two-sided funnel, not vanity pageviews. On the demand side: search to results to listing view to first message to checkout, plus the share of searches that return zero supply (your liquidity leak). On the supply side: seller signup to first listing to first sale, and time-to-first-sale, which predicts whether a seller sticks. Break GMV down by category and source so you can see concentration and which acquisition channel brings buyers who actually transact, not just browse.

The fit is that a marketplace lives on server events the browser never sees. Payments, payout clearing, and dispute resolution all happen server-side, and smolanalytics takes them at POST /v1/events with the same distinct_id your web snippet uses, so a buyer's search and their settled order sit in one funnel. Answers are computed deterministic reports with a CI test proving they can't be hallucinated, which matters when take rate and GMV are the numbers you report to investors.

Honest pricing: 14-day full trial, no credit card. Then Solo $29/mo, never metered on seats or sites. Overage is $5/million with an emailed receipt, the dashboard never locks, and self-hosting the single Go binary is free forever (MIT).

Add analytics to Marketplaces tonight.

One snippet, or one endpoint. Tomorrow morning the verdict tells you which part of the funnel to fix.

questions

How do I add analytics to Marketplaces?
Marketplace analytics has to watch two sides at once. You need to see whether searches find supply, whether sellers get their first sale, and whether GMV concentrates in a handful of listings. smolanalytics autocaptures both browser sides, joins server-side orders on the same distinct_id, and answers liquidity and take-rate questions in plain English.
Do I need a cookie banner?
Not in cookieless mode. smolanalytics can run without storing anything on the device, so there is no consent banner to add. You still get visitors, referrers, funnels, retention, and paths, and AI-assistant referrals (chatgpt.com, claude.ai, perplexity.ai) show up as their own channel.
Is it enough for a real product, or just page counts?
It does funnels, retention, paths, cohorts, and a daily verdict on what to fix, from the same events, and you ask it in plain English. It deliberately skips session replay, feature flags, and experiments. If you want a straight answer on what to fix, that you own and can self-host free, it fits.

keep reading