> ## 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.

# Switch from DataFast to CrispStats

> Move from DataFast to CrispStats: run both side by side, reconnect payments, and see what does not carry over. History cannot be imported yet.

To switch from DataFast, add the CrispStats script next to your DataFast script, connect the same payment provider, compare for a while, then remove DataFast. CrispStats cannot import DataFast history yet, so your CrispStats charts start on the day you install the script.

If a DataFast import is what is stopping you, write to [hello@crispstats.com](mailto:hello@crispstats.com).

## Run both side by side

**1. Add the CrispStats script**

Keep the DataFast script and add the CrispStats tag to every page. Follow the guide for your stack in [install](https://docs.crispstats.com/install/overview.md). The two scripts use different globals and send to different hosts, so they do not interfere.

**2. Connect the same payment provider**

In CrispStats, open **Settings**, **Revenue**, and connect the provider you already use in DataFast with a key. Past payments come across from the provider. Attribution to a source needs a visit CrispStats has seen, so keep DataFast running until the attribution you rely on has built up in both.

**3. Mirror goals and funnels**

Recreate the goals and funnels you care about. Names can match what you used in DataFast so reports read the same.

**4. Compare, then remove DataFast**

Compare for at least a full week. Then remove the DataFast script. Export anything you want to keep first.

## What maps to what

| DataFast | CrispStats | Notes |
| - | - | - |
| Default cookie script, optional cookieless script | Cookieless by default | Persistent visitors is off unless you turn it on. |
| Stripe, Polar, Paddle, Shopify and others | The same providers, plus a payment API | Connect with a key. See [revenue](https://docs.crispstats.com/revenue/overview.md). |
| Goals | [Goals](https://docs.crispstats.com/dashboard/goals.md) | Recreate them. History does not come across. |
| Funnels | [Funnels](https://docs.crispstats.com/dashboard/funnels.md) | Recreate them. They need visits CrispStats recorded. |
| AI traffic | [AI traffic](https://docs.crispstats.com/ai/ai-traffic.md) | Assistants that send people, and crawlers that read pages. |
| MCP server with OAuth | [MCP server](https://docs.crispstats.com/api-reference/mcp.md) with an API key | An agent reads reports and can install the script once you paste a key. It cannot create the account. |
| Website API key (`df_`) | API key (`cs_sk_`) | Different hosts, different shapes. |

## What CrispStats adds

On every plan and in the trial: [web vitals](https://docs.crispstats.com/health/web-vitals.md), [JavaScript errors](https://docs.crispstats.com/health/errors.md), [uptime monitoring](https://docs.crispstats.com/health/uptime.md), and a dashboard that does not lock when you go over the plan. Extra events are billed in blocks.

## Why the numbers will differ

The tools filter bots differently, split sessions differently and are treated differently by ad blockers. DataFast's default script uses cookies; CrispStats does not, so returning visitors are a new id each day unless [persistent visitors](https://docs.crispstats.com/privacy/persistent-visitors.md) is on. [Why do my numbers differ](https://docs.crispstats.com/help/faq.md#why-do-my-numbers-differ-from-another-analytics-tool) lists every CrispStats rule. Compare trends, not exact totals.

## What does not carry over

* **Your history.** CrispStats does not import data from DataFast. The only tool it imports from is [Plausible](https://docs.crispstats.com/switch/import-from-plausible.md).
* **Goals, funnels and journeys.** Recreate them. They start on the first day CrispStats recorded.
* **Visitor profiles from DataFast.** CrispStats visitor ids are its own.

## FAQ

> [accordion] Can I import my DataFast data?
>
> Not yet. Run both side by side until you have enough history in CrispStats. If that import is what is stopping you, write to [hello@crispstats.com](mailto:hello@crispstats.com).

> [accordion] Do I need a cookie banner for CrispStats?
>
> CrispStats sets no cookie and stores nothing on the device by default. See [compliance](https://docs.crispstats.com/privacy/compliance.md) for what it collects. This is not legal advice.

> [accordion] Can an AI agent set CrispStats up for me?
>
> Once you have an account and an API key, yes: the [MCP server](https://docs.crispstats.com/api-reference/mcp.md) can install the script and read your numbers. It cannot create the account. Sign up in the browser, then paste the key.

## Next steps

> [card] [Install the script](https://docs.crispstats.com/install/overview.md)
>
> Find the guide for your stack.

> [card] [Revenue](https://docs.crispstats.com/revenue/overview.md)
>
> Connect the payment provider you already use.

> [card] [CrispStats and DataFast](https://crispstats.com/vs/datafast)
>
> The side-by-side comparison on crispstats.com.


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