Data Import
Import historical analytics data from third-party platforms into Swetrix
Data Import
Swetrix allows you to import historical analytics data from other platforms so you can switch without losing your history. Imported data appears alongside your live-tracked data in dashboards, charts, and reports. It's tagged internally so it can be identified and, if needed, removed later without affecting your live-tracked data.
Supported Providers
- Umami
- Simple Analytics
- Fathom Analytics
Importing from Umami
Export Your Data from Umami
- Log in to your Umami instance
- Go to Settings → Data
- Click on the export button
- Select a website you want to export and a date range, then click export - Umami will email you a ZIP file with the exported data

You can learn more on how to export your data from Umami on their data export documentation.
Import into Swetrix
- Go to your project's Settings page in Swetrix
- Click the Import data tab

- Click the Umami provider card

- In the upload modal, either drag and drop the
.zipfile or click to browse - Wait for the upload and processing to complete
.zip file from Umami directly - do not extract it first.Monitor Progress
After uploading, the import will appear in the Import history table below the provider cards. You can see:
- Status — Pending, Processing, Completed, or Failed
- Date range — The time span of the imported data
- Rows — How many analytics events were imported
The page auto-refreshes while an import is processing. You can navigate away and come back later.
Importing from Simple Analytics
Export Your Data from Simple Analytics
- Log in to your Simple Analytics dashboard and go to their Export data page
- Under the Select the raw data you want to download section, select All option to include both pageviews and events and the export time period. For type, choose CSV.
- Under the Select fields section, choose the select all option to include all fields.
- Click the Export button to download a
.csvfile

You can learn more on how to export your data from Simple Analytics on their export documentation.
Import into Swetrix
- Go to your project's Settings page in Swetrix
- Click the Import data tab

- Click the Simple Analytics provider card

- In the upload modal, either drag and drop the
.csvfile or click to browse - Wait for the upload and processing to complete
Monitor Progress
After uploading, the import will appear in the Import history table below the provider cards. You can see:
- Status — Pending, Processing, Completed, or Failed
- Date range — The time span of the imported data
- Rows — How many analytics events were imported
The page auto-refreshes while an import is processing. You can navigate away and come back later.
Importing from Fathom Analytics
Because Fathom Analytics does not allow raw data exports, the sessions will be imported with hourly precision. It's still mostly accurate, but some longer sessions may be slightly misrepresented.
Export Your Data from Fathom
- Log in to your Fathom Analytics dashboard
- Go to your site's settings and go to the Exports tab
- Click New export
- (important) For Date Grouping, select Hourly
- Select all available Dimensions and Metrics

If you have tracked custom events with Fathom, you can also export them (under the Events tab) - for custom events make sure to also select Hourly for Date Grouping, as well as all available Dimensions and Metrics.
Fathom exports pageviews and events as separate CSV files. You will be able to import both of them to Swetrix one at a time.
You can learn more on how to export your data from Fathom on their export documentation.
Import into Swetrix
- Go to your project's Settings page in Swetrix
- Click the Import data tab

- Click the Fathom Analytics provider card
- In the upload modal, either drag and drop your
.csvfile or click to browse - Wait for the upload and processing to complete
Fathom exports pageviews and events as separate CSV files. Upload them one at a time — you don't need to upload both at once. The imported data will be linked automatically.
Monitor Progress
After uploading, the import will appear in the Import history table below the provider cards. You can see:
- Status — Pending, Processing, Completed, or Failed
- Date range — The time span of the imported data
- Rows — How many analytics events were imported
The page auto-refreshes while an import is processing. You can navigate away and come back later.
Viewing Imported Data
Once an import completes, the data is immediately available in your analytics dashboard. When you select a date range that includes imported data, a small "Imported" badge appears near the period selector to let you know.
Deleting an Import
If you want to remove imported data:
- Go to Settings → Import data
- Find the import in the history table
- Click the trash icon
- Confirm the deletion
This permanently removes all analytics rows associated with that import. Your live-tracked data is not affected.
Limitations
- File size: Maximum 100 MB per upload
- One at a time: Only one import can be active (pending or processing) per project at a time
- Timestamps: Events with invalid timestamps are skipped during import
Troubleshooting
Import stuck in "Processing"
Large files may take several minutes to process. If an import seems stuck, wait up to 30 minutes. If it still hasn't completed, the import may have failed - check for error messages in the import history.
"An import is already in progress"
Only one import can run at a time per project. Wait for the current import to complete or fail before starting a new one.
Invalid file type error
Make sure you're uploading the correct file format for your provider. For Umami, upload the .zip file directly - do not extract it first. For Simple Analytics and Fathom Analytics, upload the .csv export file.
Data not appearing in charts
After a successful import, select a date range that covers the imported data's time period. The imported data indicator badge should appear to confirm it's included.
Help us improve Swetrix
Was this page helpful to you?
