---
title: "Import Simple Analytics Data into HitKeep | HitKeep"
description: "Export the Simple Analytics raw datapoints CSV, then import historical Simple Analytics traffic into HitKeep with validation."
canonical: "https://hitkeep.com/guides/data/import-simple-analytics/"
---

[Switching from Simple Analytics?**Explore HitKeep →**](https://hitkeep.com/vs/simple-analytics/)

# Import Simple Analytics Data into HitKeep

HitKeep imports Simple Analytics history from the raw datapoints CSV. Open Simple Analytics’ [current export page](https://simpleanalytics.com/select-website/export), choose the website and export the pageviews and events you want to migrate as CSV. In HitKeep, use **Integration → Import & Export** for the destination site. [Simple Analytics’ export guide](https://docs.simpleanalytics.com/export-data) links to its current export interface and API helper.

## Start Tracking Before Moving History

New to HitKeep? Create a workspace, add the destination site, copy its generated snippet from Site Settings, and [install the tracker](https://hitkeep.com/guides/tracking/tracker-architecture/#install). Keep Simple Analytics running while you verify new pageviews. **A historical export is optional:** you can start using HitKeep even if your source account cannot export raw data.

Managed option

## Start with one site. Bring history when available.

Free Cloud currently requires no website badge. Choose EU Frankfurt or US Virginia before account creation. Free includes 3 sites, 3 members, and 60 days of history; older data is removed.

[Start free in HitKeep Cloud](https://cloud.hitkeep.eu/signup?utm_source=hitkeep_docs&utm_medium=website&utm_campaign=cloud_signup&utm_content=simple_analytics_import&plan=free&billing=monthly)[Self-host instead](https://hitkeep.com/guides/installation/)

## Before You Export

Check your source account’s export entitlement before planning a historical migration. Simple Analytics documents plan restrictions for Export API access; a Free account should not be assumed to include it. See [its export guide](https://docs.simpleanalytics.com/export-data) and [current plans](https://www.simpleanalytics.com/pricing).

If you have a [missing-badge notice](https://docs.simpleanalytics.com/free-plan-badge), resolve it or save an available export before access is restricted. Simple Analytics can lock exports after the 14-day warning period while tracking continues. Restoring badge compliance restores access, but does not change your plan’s export entitlement.

Choose the destination’s retention window before importing: [HitKeep Free Cloud](https://hitkeep.com/pricing/) keeps 60 days of history and removes older data. Keep an untouched copy of your CSV separately; do not use the Free dashboard as your only historical archive.

You need access to the Simple Analytics website you are moving and `site.manage_data` access for the destination HitKeep site.

HitKeep accepts any `.csv` file whose header matches the Simple Analytics raw datapoints schema. The filename is only used for display, validation warnings, and import history.

## Export From Simple Analytics

1. Open the [export page](https://simpleanalytics.com/select-website/export) and sign in to Simple Analytics.
2. Select the website and date range you want to migrate.
3. Include pageviews and events, along with the raw datapoint fields required below.
4. Choose **CSV** and download the export.

Simple Analytics’ guide notes that its older video is outdated. Use the current export page or [Generate export URL helper](https://docs.simpleanalytics.com/api/helpers#generate-export-url) if the navigation differs. API export availability depends on your Simple Analytics plan.

Use a raw datapoints export rather than an aggregated report. HitKeep expects the raw datapoints CSV with fields such as `added_iso`, `datapoint`, `path`, `document_referrer`, `device_type`, `country_code`, `is_unique`, and `duration_seconds`. If the export includes optional fields such as `browser_name`, `browser_version`, `lang_language`, and `lang_region`, HitKeep imports those into browser and language reports too.

## Import Into HitKeep

1. In HitKeep, select the destination site.
2. Open **Integration → Import & Export** from the left navigation.
3. Choose **Simple Analytics** as the importer.
4. Upload the downloaded datapoints CSV.
5. Run validation and review the date range, row counts, accepted rows, skipped rows, and warnings.
6. Start the import after the validation summary matches what you expect.

![HitKeep Import tab with Simple Analytics selected and the CSV upload drop zone visible](https://hitkeep.com/_astro/imports-simple-analytics-upload.B_qrry8K_1mt0mb.webp)

Open **Integration → Import & Export** in HitKeep, choose Simple Analytics, then upload the datapoints CSV.

The import writes to the currently selected HitKeep site. If you manage multiple sites, check the site switcher before uploading the CSV. HitKeep uses that selected site’s domain to suppress self-referrers from the imported source breakdown.

## CLI Import

The CLI reuses `HITKEEP_PUBLIC_URL` when it is already set, and otherwise talks to `http://localhost:8080`. Pass `--url` only when running the command from a different machine.

You can validate the same file from the command line:

```
hitkeep import validate simpleanalytics --site <site-id> --file simple-analytics-export.csv
```

Start the import after reviewing the manifest:

```
hitkeep import simpleanalytics --site <site-id> --file simple-analytics-export.csv --wait
```

## What HitKeep Imports

HitKeep imports Simple Analytics pageview history into compatible aggregate reports:

| Simple Analytics field | HitKeep report data |
| --- | --- |
| added_iso | Daily traffic date |
| is_unique | Visitors and visits |
| datapoint=pageview | Pageviews |
| duration_seconds | Visit duration totals |
| path | Top pages |
| document_referrer | Top sources |
| device_type | Device breakdown |
| country_code | Country breakdown |
| browser_name / browser_version | Browser breakdown when present |
| lang_language / lang_region | Language breakdown when present |
| utm_source | UTM source breakdown |

Simple Analytics datapoints exports do not include everything HitKeep can track natively. Bounce counts and native HitKeep event relationships are not invented during import. Browser and language dimensions are imported only when the CSV includes the relevant fields. If the CSV contains unsupported datapoint types, validation reports them as skipped rows so you can review the coverage before importing.

HitKeep sums the supplied `duration_seconds` into daily duration totals and uses `is_unique` to build imported visit counts. These are source-export aggregates, not reconstructed HitKeep sessions. Without imported bounce counts, the resulting historical bounce rate is not a comparable measurement of Simple Analytics bounces. See [native session, duration, and bounce definitions](https://hitkeep.com/reference/facts-and-limits/#sessions-duration-and-bounce-rate) before comparing periods across a migration.

Imported history contributes to compatible daily reports. Sub-day views and filters that require unsupported relationships exclude the aggregates rather than inventing session-level data; check the imported-data warning in the report.

## After Import

Open the destination site’s dashboard and select the imported date range. The imported pageviews, visitors, pages, sources, devices, countries, browser names, language codes, and UTM source data appear in compatible historical reports when those fields exist in the CSV.

For API automation, use the import endpoints under [the Imports API reference](https://hitkeep.com/api/#tag/imports).

## Related

- [Migration overview](https://hitkeep.com/guides/migration/)
- [Server-side tracking and historical replay](https://hitkeep.com/guides/tracking/server-side-tracking/)
- [Open exports and takeout](https://hitkeep.com/guides/data/takeout/)

[Previous Import Plausible](https://hitkeep.com/guides/data/import-plausible/)[Next Google Search Console](https://hitkeep.com/guides/integrations/google-search-console/)
