What is recorded
Amounts include tax collected (
gross + vat) in the payment’s own currency. Open or won disputes are skipped because no money was permanently refunded. Free $0 checkouts are skipped. Each payment is stored once under its Freemius payment id across history imports, polls and optional webhooks.
Connect Freemius
1
Open the Freemius panel
In CrispStats, open the site’s Settings, then Integrations. Select Connect a payment provider and choose Freemius.
2
Copy your API Bearer token and Product ID
Open your product in the Freemius Developer Dashboard, then go to Settings, then API & Keys:
- Copy the Product ID shown at the top of the page.
- Copy the API Bearer Authorization Token (generate one if none exists yet).
- Keep the token active so CrispStats can keep reading payments.
3
Paste the token and Product ID
Paste the token into API Bearer token and the number into Product ID. CrispStats checks them against Freemius at once and reads your product title.
4
Connect
Select Connect Freemius. CrispStats starts importing past payments and polls Freemius every 2 minutes for new sales, renewals and refunds.
What the key can do
A Freemius API Bearer token is scoped to the single product you connect. CrispStats uses it only to read payments, plans and customer emails (to carry attribution from initial sales onto renewals and refunds). The token is stored encrypted, used only on CrispStats’ servers againstapi.freemius.com, and never shown again.
Live vs sandbox payments
Freemius uses a single product API token for both production (environment: 0) and sandbox (environment: 1) payments. CrispStats automatically marks sandbox purchases with a Test tag and keeps them out of verified revenue.
Link visits at checkout
Freemius REST payment responses do not return custom checkout metadata parameters. When embedding Freemius Checkout (FS.Checkout) on your site, pass the customer’s Freemius user id to identify() in purchaseCompleted so CrispStats ties the purchase to their browsing session:
identify() with a different id. Hosted checkout.freemius.com redirects that do not invoke FS.Checkout on your domain cannot carry a visitor id directly.