Swetrix

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

  1. Log in to your Umami instance
  2. Go to SettingsData
  3. Click on the export button
  4. 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
Umami export data page

You can learn more on how to export your data from Umami on their data export documentation.

Import into Swetrix

  1. Go to your project's Settings page in Swetrix
  2. Click the Import data tab
Swetrix import data tab
  1. Click the Umami provider card
Swetrix import data tab with provider cards
  1. In the upload modal, either drag and drop the .zip file or click to browse
  2. Wait for the upload and processing to complete
Upload the .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

  1. Log in to your Simple Analytics dashboard and go to their Export data page
  2. 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.
  3. Under the Select fields section, choose the select all option to include all fields.
  4. Click the Export button to download a .csv file
Simple Analytics export data page

You can learn more on how to export your data from Simple Analytics on their export documentation.

Import into Swetrix

  1. Go to your project's Settings page in Swetrix
  2. Click the Import data tab
Swetrix import data tab
  1. Click the Simple Analytics provider card
Swetrix import data tab with provider cards
  1. In the upload modal, either drag and drop the .csv file or click to browse
  2. 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

  1. Log in to your Fathom Analytics dashboard
  2. Go to your site's settings and go to the Exports tab
  3. Click New export
  4. (important) For Date Grouping, select Hourly
  5. Select all available Dimensions and Metrics
Fathom Analytics export data page

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

  1. Go to your project's Settings page in Swetrix
  2. Click the Import data tab
Swetrix import data tab
  1. Click the Fathom Analytics provider card
  2. In the upload modal, either drag and drop your .csv file or click to browse
  3. 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.

Dashboard with imported data indicator badge

Deleting an Import

If you want to remove imported data:

  1. Go to SettingsImport data
  2. Find the import in the history table
  3. Click the trash icon
  4. 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.

On this page