> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crispstats.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> CrispStats is a hosted, privacy-first web analytics product. It has no self-hosted edition, no session replay, no heatmaps, no A/B testing, no mobile SDKs and no data import except a site's history from a Plausible export (Settings, Import and export).
> The script global is crispstats(...), site keys start with cs_pk_ and secret API keys start with cs_sk_. The script is served from https://in.crispstats.com/d.js and the REST API lives at https://crispstats.com/api/v1.
> There is no npm package to install. Integrations copy the script tag, the queue stub, crispstats.d.ts and proxy code from these docs or from Settings, Tracking code in the dashboard. A first-party proxy forwards one path of the site to https://in.crispstats.com/p/ and forwards only content-type, user-agent, accept-language, referer, origin, if-none-match and x-forwarded-for, never cookies.

# Manage your subscription and invoices

> See the days left in your 14-day CrispStats trial, pick a plan in Stripe Checkout, change or cancel it, update payment details, track usage and overage, and download invoices.

The Billing screen shows a workspace's plan or trial, this month's usage and its invoices, and is where an owner picks a plan, changes it or cancels it. Open it from the account menu, the command palette, or at [crispstats.com/app/billing](https://crispstats.com/app/billing). Payments run through Stripe: checkout and payment details open on Stripe's pages and bring you back to Billing afterwards.

## Who can do what

| Role | On the Billing screen |
| - | - |
| Owner | Everything: pick a plan, change it, cancel it, open payment details, see invoices. |
| Admin | See the plan, usage and invoices. Cannot change the plan or payment details. |
| Member, viewer | See the plan and usage. Invoices are hidden. |

The billing screen shows one workspace at a time. If you belong to several, pick one with the workspace selector at the top. Roles are explained in [team and roles](https://docs.crispstats.com/account/team-and-roles.md).

## What the screen shows

* **Current plan**: the plan name, or the trial with the days left, whether it is billed monthly or yearly, a status badge and one sentence on what the status means, with the button that manages it.
* **Usage this month**: events against the allowance, the projected total at the end of the month, the overage so far and at the current pace, and meters for sites, seats, uptime monitors and AI messages. A line below gives the retention, the daily API allowance and last month's event count.
* **Plans**: the Starter, Growth and Scale cards with a **Monthly** and **Yearly** switch. Your plan is marked **Current plan**.
* **Invoices**: date, number, period, amount, status and links to view each invoice or download it as a PDF.

## The trial

Every account starts with a 14-day free trial, no card required. It starts by itself when the workspace is created, includes every feature, and is never charged. Each person gets one trial. There is no free plan: to keep going, pick a plan before the trial ends.

During the trial the trial's limits apply, including a hard limit of 25,000 events a month. See [the trial](https://docs.crispstats.com/account/plans-and-limits.md#the-trial) for every limit, and [when the trial or a plan ends](https://docs.crispstats.com/account/plans-and-limits.md#when-the-trial-or-a-plan-ends) for what happens if you do not pick a plan.

## Pick a plan

**1. Choose a plan**

On the **Plans** cards, choose **Monthly** or **Yearly**, then select the button on Starter, Growth or Scale.

**2. Pay in Stripe Checkout**

Stripe Checkout opens and asks for a payment method. The plan is charged at once, also when you pick it during the trial. Checkout also accepts promotion codes and a tax ID. If you cancel out of Checkout, Billing shows `Checkout was cancelled.` and nothing is charged.

**3. Return to Billing**

Stripe sends you back to Billing with the notice `Checkout is complete.` The plan shows within a few seconds; refresh if it has not yet.

The plan's limits replace the trial's straight away. Picking a plan also restores a [locked workspace](https://docs.crispstats.com/account/plans-and-limits.md#when-the-trial-or-a-plan-ends) at once, as long as its sites have not been deleted yet.

If you chose a plan on the pricing page before signing up, Billing opens its checkout for you when you arrive.

## Change your plan

With a running subscription, the cards offer **Upgrade to**, **Downgrade to**, **Switch to yearly** or **Switch to monthly**.

**1. Select the new plan or period**

Set the **Monthly** or **Yearly** switch, then select the button on the plan you want.

**2. Confirm**

The confirmation names the new plan, the period and the price. Select **Move to** the plan.

The change applies at once. Stripe prorates the difference onto your next invoice and charges the payment method on file. Choosing a plan also withdraws a pending cancellation.

## Cancel your plan

Owners cancel in Stripe's customer portal, which opens from the **Current plan** card. The cancellation takes effect at the end of the period you paid for.

Until then the **Current plan** card shows **Ends** with the date, and the plan stays active. To keep it, renew it in the customer portal, or choose a plan on the **Plans** cards, which also withdraws the cancellation.

When the period ends, the workspace is locked: collection stops and the dashboard locks, and your sites and their data are deleted 30 days later unless you pick a plan again. See [when the trial or a plan ends](https://docs.crispstats.com/account/plans-and-limits.md#when-the-trial-or-a-plan-ends).

## Update payment details and invoices

Owners open Stripe's customer portal from the **Current plan** card (**Payment and invoices**, **Add payment method** or **Update payment method**, depending on the status) or from **Billing details** on the **Invoices** section. In the portal you can update the card, edit billing details such as the address, download invoices and cancel.

Invoices are listed on Billing once Stripe reports them, newest first, with these statuses: **Paid**, **Due**, **Draft**, **Void** and **Unpaid**. Admins see the same list but cannot open the portal.

## Subscription statuses

| Status badge | What it means | Which limits apply |
| - | - | - |
| Trial, N days left | The trial is running. Nothing is charged. | The trial's |
| Trial ended | The trial is over and no plan was picked. The workspace is locked. | None: locked |
| Active | The plan renews on the date shown, plus any overage. | The plan's |
| Ends on a date | Cancelled, active until the end of the period. | The plan's, until that date |
| Payment failed | The last payment did not go through. Stripe retries it over the next days. Update your payment method to settle it now. | The plan's, while Stripe retries |
| Paused | An invoice is still unpaid after the retries. Pay it or update your payment method to resume. | None: locked |
| Incomplete | The first payment is waiting for confirmation. | The trial's while it runs, otherwise none: locked |
| Cancelled | The plan has ended. Pick a plan to start again. | None: locked |

With a paid plan, events keep being counted over the allowance and billed as overage. In the trial, at 25,000 events in the month the workspace is paused until you pick a plan or the next month begins. See [when the trial reaches its event limit](https://docs.crispstats.com/account/plans-and-limits.md#when-the-trial-reaches-its-event-limit). A locked workspace collects nothing, and its sites and their data are deleted 30 days after the lock unless you pick a plan.

## Check your usage

**Usage this month** counts events for the whole workspace in the current calendar month, in UTC, and says when the counter resets. On a paid plan it states either that you are on pace to stay within the plan, or about how much overage the month will cost at the current pace and how much is due so far, with `Nothing is blocked.` In the trial, extra events are never charged; instead the workspace is paused at 25,000 events in the month, with a warning at 80%.

There are no overage settings to change. Every paid subscription includes metered overage at \$1 per started block of 100,000 events beyond the plan, billed monthly, also on yearly plans. See [overage](https://docs.crispstats.com/account/plans-and-limits.md#overage) for the arithmetic and a calculator.

## What happens when you downgrade

Moving to a smaller plan changes the limits at once. CrispStats does not delete sites or remove people to fit the new plan:

* **Sites, seats and uptime monitors**: what you already have keeps working. Adding more is refused until you are under the new limit.
* **Events**: this month's count is measured against the new allowance. Nothing is dropped; events beyond it are billed as overage.
* **AI messages and API requests**: the new plan's allowances apply to the messages already used this month and to each API key's count for the day.
* **Data retention**: traffic history older than the new plan keeps is removed by the next daily retention run. [Export your data](https://docs.crispstats.com/share/csv-export.md) first if you need older history. Payments and refunds are never removed by retention, on any plan.

Cancelling is different: when a cancelled plan ends, the workspace is locked rather than moved to a smaller plan. See [cancel your plan](#cancel-your-plan).

## Next steps

> [card] [Plans and limits](https://docs.crispstats.com/account/plans-and-limits.md)
>
> Compare the plans and see what happens at each limit.

> [card] [Invite your team](https://docs.crispstats.com/account/team-and-roles.md)
>
> Add people once your plan has seats for them.

> [card] [Export your data](https://docs.crispstats.com/share/csv-export.md)
>
> Download your history before a smaller plan or a cancellation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.