How to track Tebex revenue per package and per creator code

Track Tebex sales per package and creator code with webhooks, count refunds and chargebacks, and tie each purchase to the buyer's playtime and source.

RevenueBy the ServerStats teamUpdated 6 min read

Questions

How do I track Tebex sales?

Tebex's control panel has built-in statistics: revenue, popular packages, top customers, coupons and creator codes. To join sales with player behaviour (playtime, join source, retention), add a webhook endpoint under Developers, Webhooks, Endpoints and send the events to an analytics tool.

Can I see revenue per Tebex creator code?

Yes. Tebex reports revenue and commission per creator code in its statistics, and every payment webhook carries a creator_code field. ServerStats groups payments by that code with uses, revenue and number of paying players.

Which Tebex webhook events should I subscribe to?

At least payment.completed, payment.refunded, payment.dispute.opened, payment.dispute.won and payment.dispute.lost, plus recurring-payment.started and recurring-payment.renewed if you sell subscriptions. payment.declined is useful for spotting checkout problems.

Does ServerStats store buyer emails or IP addresses from Tebex?

No. Tebex webhooks include the buyer's email, name and IP, but ServerStats reads only the package, amount, currency, creator code, coupon flag and the buyer's game ID, which is turned into a keyed hash straight away.

Does this work with PayNow and CraftingStore?

Yes, both send webhooks ServerStats accepts. CraftingStore creator codes come through when you use the provided payload template; PayNow payments are recorded without a creator code.

Connect your Tebex store

Free for one server, no card. About five minutes to install.