> ## 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 Piqo to CrispStats

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

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

If a Piqo 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 Piqo 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 with a key. Past payments come across from the provider. Attribution to a source needs a visit CrispStats has seen, so keep Piqo running until the attribution you rely on has built up in both.

**3. Recreate goals**

Add a CrispStats [goal](https://docs.crispstats.com/dashboard/goals.md) for each conversion you tracked in Piqo.

**4. Compare, then remove Piqo**

Compare for at least a full week. Then remove the Piqo script. If you turned on Piqo's public stats API, turn it off when you are done.

## What does not carry over

* **Your history.** CrispStats does not import data from Piqo. Piqo can import from DataFast; CrispStats cannot, yet. The only tool CrispStats 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.
* **Piqo's public stats API URL.** Use the [CrispStats REST API](https://docs.crispstats.com/api-reference/introduction.md) or a [public dashboard](https://docs.crispstats.com/share/public-dashboard.md) instead.

## Why the numbers will differ

The tools filter bots differently, split sessions differently and are treated differently by ad blockers. A CrispStats visitor id lasts one 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.

## FAQ

> [accordion] Can I import my Piqo data?
>
> Not yet. Piqo has no full history export we can read, and CrispStats does not pull from Piqo's public stats API. 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] I came from DataFast through Piqo. Can you import that?
>
> No. History Piqo imported from DataFast stays in Piqo. CrispStats cannot read it. See [switch from DataFast](https://docs.crispstats.com/switch/datafast.md).

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

## 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] [Import from Plausible](https://docs.crispstats.com/switch/import-from-plausible.md)
>
> The one history import that exists today.


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