Import data
Bring your history from Plausible, Google Analytics 4, Umami, Fathom, Simple Analytics, Mixpanel, PostHog or any CSV or NDJSON file.
Open Site settings → Import data, pick the tool you're coming from and drop its export files. Site owners and admins can import on every plan.
What each tool's export brings
| Tool | What to export | Imported as |
|---|---|---|
| Plausible | Site settings → Imports & Exports → Export data (zip of imported_*.csv), or the dashboard's Export zip | Daily totals with pages, entry and exit pages, sources and UTM, countries and regions, devices, browsers, OS, custom events and properties |
| Google Analytics 4 | BigQuery export as newline-delimited JSON, or report downloads (CSV) | BigQuery: every event, with users, sessions, geo, device, UTM and revenue. Reports: daily totals and the tables you download |
| Umami | Umami Cloud data export (website_event, session, event_data, .csv or .csv.gz), or the self-hosted dashboard export zip | Cloud export: every event with its session's geo and device and its event data as properties. Dashboard zip: totals for a period you enter |
| Fathom | Custom export with Daily or Hourly grouping, or the dashboard download zip | Daily totals and the dimensions you exported |
| Simple Analytics | Data points export as CSV or NDJSON, type=all, all fields | Every page view and event, with UTM, device, country and metadata as properties |
| Mixpanel | Raw event export (one JSON event per line) | Every event, with distinct_id, $user_id, $identify, geo, device and properties |
| PostHog | Events batch export as JSON lines, or a CSV download of events | Every event, with $identify, $session_id, geo, device and properties |
| Other | Any CSV or NDJSON with one event per row, or a CSV with date, visitors, pageviews | Events, with the columns you choose for time, name, page, visitor, user and properties; or daily totals |
Zip and gzip files are opened in the browser; upload them as they are. Files are sent in pieces of up to 1 MB, so large exports work, and the progress bar shows how far along it is.
Nothing is counted twice
- Cut-off. Imported data only fills days before the site's first tracked day (in the site's timezone). You can pick an earlier day under Import days before; anything on or after it is skipped and listed in the import's history.
- One import per day. A day filled by one import is skipped by the next. To replace a day, delete the import that filled it first.
- Events are never imported twice. Each event is remembered by its id in the source (Mixpanel
$insert_id, PostHoguuid, Umamievent_id) or by a fingerprint of the row, also across imports.
Events and totals
Event-level exports follow the same rules as live data, applied in bulk: sessions are rebuilt with the 30-minute rule (or the source's own session ids), identified users are linked, revenue is converted to the site currency, the site's filters (excluded paths, bot filter, collection switches) and personal-data settings apply, and without a country in the export it's taken from the language's region. Internal events such as GA4 session_start and user_engagement, PostHog $autocapture and $pageleave, and Mixpanel's own $ events are left out.
Totals-only exports (Plausible, Fathom, GA4 reports, Umami's dashboard zip) become visits and page views on their days, so every dashboard shows them. Per day, visitors, visits, page views, bounce rate, visit duration and each breakdown (pages, sources, countries, devices, browsers, OS, events) match the file. Breakdowns are filled one at a time, so combining two filters on imported days, say a country and a source, is an estimate. Visitors over several days add up each day's visitors, as the tools' daily exports do. Exports with period totals and no dates are spread over the days in proportion to daily visits, or evenly over the period you enter.
Some details have no counterpart: Plausible exports cities as numeric GeoNames ids, so imported Plausible data has countries and regions but no cities; Simple Analytics stores no visitor id, so its rows from the same browser, country and screen on the same day count as one visitor; Mixpanel projects created before 2023 export times in the project's timezone.
Resume, history and deleting
If an upload stops (closed tab, lost connection, Pause), choose the same files again: the import continues from the last piece the server confirmed. Import history lists every import with its source, days, counts, what was skipped and why, and a link to its days on the dashboard. Delete removes everything that import brought in, including visits and people that only it created, and frees its days for another import.
API
The settings page uses these endpoints, with the session cookie or an owner or admin API key (Authorization: Bearer).
Import history and the latest allowed cut-off.
Starts an import: {source, files: [{name, size, handler}], cutoff?, range?, mapping?}. Returns the unfinished import with the same files when there is one.
The next piece of a file as UTF-8 text ending on a whole row, at byte offset. A repeated piece is ignored; a gap returns 409 with bytesDone.
Completes the import. Totals imports build their days in batches: call again while status is building.
Deletes the import and everything it wrote.