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

# Import your Plausible history into CrispStats

> Bring your Plausible history into CrispStats from Plausible's export: where to get the file, what comes across and what does not, how the seam works, the limits, and how to remove it.

CrispStats can import your history from Plausible's export, so your charts continue from where Plausible left off instead of starting on the day you install the script. You drop the `.zip` that Plausible emails you on the **Import and export** tab of the site's settings, check a short summary, and import it. The file is read in your browser and never uploaded: only daily totals are sent to CrispStats.

Owners and admins of the site's workspace can import. Members and viewers see what was imported and when.

## Get the export from Plausible

CrispStats reads Plausible's full export, the one Plausible emails you as a `.zip`. It covers every day Plausible recorded for the site, and Plausible offers it even after a subscription has ended.

**1. Open the site's settings in Plausible**

In Plausible, open **Site settings**, then **Imports & exports**.

**2. Ask for the export**

Choose **Export data**. Plausible emails you a link.

**3. Download the zip**

Download the `.zip` from the email. Keep it as it is: do not open its files in a spreadsheet and save them again.

The **Export stats** item in the menu of Plausible's dashboard makes a different file, with totals for a whole range instead of one row per day. CrispStats recognises it and asks for the full export instead.

## Import it

**1. Open Import and export**

Open your site in CrispStats, then **Settings** and the **Import and export** tab. The **Import from Plausible** group is at the top.

**2. Drop the file**

Drop the `.zip` on the panel, or select **Choose file**. You can also choose the `imported_*.csv` files from inside the zip together, if you already unpacked it. CrispStats reads the file in your browser and shows what it will add: the days it covers, a row count for each kind of report, and notes about anything left out.

**3. Check the summary and import**

Select **Import** followed by the number of days, for example **Import 1,059 days**. A progress bar counts the rows sent. Keep the tab open until it finishes: nothing shows in your reports until the import is complete.

When it finishes, the panel shows a **Plausible history** row with the days it covers, when it was imported and by whom. **Open Overview** opens the site's Overview over **All time**.

If the tab is closed or the connection drops part way, the import stops and nothing is added. Drop the file again to start over.

## What comes across

The export holds daily totals, and these fill the same reports CrispStats fills from its own visits:

| Report | From Plausible's export |
| - | - |
| Visitors, visits, pageviews, bounce rate, visit duration | The daily totals |
| Pages | Pageviews, visits and visitors per page. Time on page only for days Plausible measured it |
| Entry and exit pages | Per page, per day |
| Sources, channels, referrers, UTM campaigns, AI assistants | Per source, per day. Channels are worked out with CrispStats's own rules from the referrer and UTM tags, so a visit from Google lands in **Organic search** as a visit recorded today does |
| Countries | Per country, per day |
| Devices, browsers, operating systems | Per value, per day, with Plausible's names changed to the ones CrispStats uses |
| Custom events | Counts and visitors per event name, per day. `Outbound Link: Click` and `Cloaked Link: Click` become `Outbound link`, and `File Download` becomes `File download` |

Imported days show in the Overview and its chart, every breakdown, the **Events** list, the [CSV export](https://docs.crispstats.com/share/csv-export.md), the [public dashboard](https://docs.crispstats.com/share/public-dashboard.md), the [REST API](https://docs.crispstats.com/api-reference/query-parameters.md#imported-history) and the [MCP server](https://docs.crispstats.com/api-reference/mcp.md).

### What does not come across

* **Hostnames, regions and cities.** Plausible's export cannot give visitors per hostname, and its regions and cities are codes that do not yet match the place names CrispStats records. These lists start on the first day CrispStats recorded.
* **Custom properties, scroll depth, browser and system versions.** They are not imported.
* **Plausible's engagement events.** Plausible stores scroll depth and time on page as events named `engagement`. They are not custom events, so they are left out.
* **Reports that need each visit.** The **Visitors** page and visitor profiles, **Funnels**, **Retention**, **Goals** and revenue attribution need individual visits, not daily totals. They start on the first day CrispStats recorded. So do **Realtime**, the **AI** page, **Performance**, **Errors**, insights, email reports, alerts and widgets.
* **History you imported into Plausible.** Plausible's export holds only what Plausible recorded itself. If you imported Google Analytics or another tool into Plausible, those years are not in the file, so CrispStats cannot show them.

Revenue totals do not change: revenue always comes from your payments, and a [connected payment provider](https://docs.crispstats.com/revenue/history.md) already imports your payment history. Only the attribution of a payment to a source needs a recorded visit.

## Where imported days end

Imported days always end the day before the first day CrispStats recorded traffic for the site. That day, and every day after it, keeps CrispStats's own numbers, even though the script was installed part way through it. So no day is ever counted by both tools.

* Days in the export on or after that first recorded day are left out. The summary says how many.
* If you import before installing the script, every day before today can be imported. Once CrispStats records its first visit, imported days from that day on drop out of your reports by themselves.
* Plausible writes each day in your Plausible site's timezone. CrispStats places each imported day on the same date in your CrispStats site's timezone, without shifting it.
* Your plan's [data retention](https://docs.crispstats.com/account/plans-and-limits.md) applies to imported days as it does to recorded ones. Days older than your plan keeps are left out, and the summary says from which day.

## How imported days look in the dashboard

On the Overview chart, a thin dashed vertical line marks where imported days end and recorded days begin. Hover a point before it and the tooltip says **Imported from Plausible**; a week or month that holds both says **Partly imported from Plausible**. Charts by hour show days instead while the range holds imported days, because the export has no hours.

Under the chart, one line says which days are imported, that visitors there are counted per day, and which lists start on the first recorded day. Its **Hide imported days** link shows the same page with recorded days only (it adds `imported=0` to the address); **Show them** brings them back.

Other notes you may see:

| Where | What it says |
| - | - |
| A filter is on | Imported days are left out while a filter is on: the export has daily totals, not visits, so it cannot answer a filter. |
| Visitors, Funnels, Retention, AI, Performance, Errors | The report starts on the first recorded day. |
| Revenue | Revenue totals include every payment. Attribution starts on the first recorded day. |
| Events | Event properties and goals start on the first recorded day. |
| Comparison on, and only one of the two periods holds imported days | The changes for bounce rate, views per visit and duration are hidden, and the changes for visitors, visits and pageviews say **Compared with imported days**. |

### Visitors are counted per day

Plausible's export has each day's unique visitors, and a person who came on two days counts on each day. A total over several days can therefore read higher than Plausible's dashboard showed for the same period. In the default privacy mode CrispStats counts its own visitors the same way, because visitor ids change every day, so a total means the same thing on both sides of the seam. On a site with [persistent visitors](https://docs.crispstats.com/privacy/persistent-visitors.md), recorded days count each person once per range and imported days once per day.

Conversion rates of goals, and conversion rate and revenue per visitor for each source, page or country, divide by recorded visitors only, because a payment reaches a source only through a recorded visit. The site-wide conversion rate and revenue per visitor include imported visitors, because they divide every payment in the range, older ones included.

### Why a chart may step at the seam

Two tools never count exactly alike. Plausible and CrispStats filter bots differently, end a visit at different moments and decide differently what counts as a bounce. A CrispStats visit ends after 30 minutes without activity or when the visitor comes back through a different referrer or campaign. So visits, bounce rate and visit duration can jump a little where imported days end, with no change in your real traffic. Compare trends on each side of the line rather than the values across it. [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.

## Limits

| Limit | Value |
| - | - |
| File size | 1 GB for the zip or any one file |
| Files in a zip | 200 |
| Unpacked size of a zip | 2 GB in all |
| Rows added | 1,000,000 per import. Each list keeps the top 500 values of each day, or 200 or 100 when needed to stay under it. The rest still count in the totals, and the summary says how many were left out. |
| Imports started | 10 per site in 24 hours |
| Days | From 1 January 2005 to today |

The file is checked before anything is sent. When something is wrong, the panel names the file, the line and the column, and says how to fix it. For an export over the limits, write to [hello@crispstats.com](mailto:hello@crispstats.com) and we will import it for you.

You cannot import while a [stats reset](https://docs.crispstats.com/account/reset-stats.md) of the site is running, or while another import of it is running in another tab or by someone else. The panel says so and updates when that finishes.

## Import again or remove

**Import a newer export**, under the **Plausible history** row, opens the drop panel again. A second import replaces the first: the old one stays in your reports until the new one has finished, then it is removed in the same step. Imports never add up.

To take imported days out of every report:

**1. Open the imported history**

Go to **Settings**, **Import and export**, and find the **Plausible history** row.

**2. Remove it**

Select **Remove**, then **Remove imported data**. The dialog names the days that will go.

Every report goes back to the numbers it showed before the import. What CrispStats recorded stays, and you can import the file again at any time. [Resetting stats](https://docs.crispstats.com/account/reset-stats.md) and deleting the site also remove imported days.

## FAQ

> [accordion] Does my Plausible file leave my computer?
>
> No. CrispStats reads it in your browser. It sends only daily totals per report, the file's name and its date range, and stores nothing else from the file.

> [accordion] Can I import from Plausible's API instead of the file?
>
> No. CrispStats reads only the export file, so you never hand it a Plausible key, and it works after your Plausible subscription has ended.

> [accordion] Can I import from Google Analytics, Fathom or Umami?
>
> Not yet. Plausible is the only tool CrispStats imports from. See the switching guides for [Google Analytics](https://docs.crispstats.com/switch/google-analytics.md), [Fathom](https://docs.crispstats.com/switch/fathom.md) and [Umami](https://docs.crispstats.com/switch/umami.md).

> [accordion] Why are my first CrispStats days missing from the import?
>
> Days on or after the first day CrispStats recorded keep CrispStats's numbers. If those first days were only your own test visits, [reset stats](https://docs.crispstats.com/account/reset-stats.md) first, then import, to bring in Plausible's numbers up to the day before your real launch.

## Next steps

> [card] [Switch from Plausible](https://docs.crispstats.com/switch/plausible.md)
>
> Run both scripts, then map your events and goals.

> [card] [Raw events](https://docs.crispstats.com/share/raw-events.md)
>
> Download every event CrispStats recorded, one month at a time.

> [card] [Filters and comparison](https://docs.crispstats.com/dashboard/filters-and-comparison.md)
>
> How the dashboard compares periods.

> [!NOTE]
>
> Facts about Plausible's export (where to find it, that it is emailed as a zip, that it is available after a subscription ends, and that it leaves out data imported into Plausible) are from Plausible's documentation, [https://plausible.io/docs/export-stats](https://plausible.io/docs/export-stats), and its exporter source, read on 2026-11-25.


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