Data Import
Import historical analytics data to maintain continuity when switching to Plausible.Supported Import Sources
Plausible supports importing from:- Google Analytics 4 (GA4) - Currently supported
- Universal Analytics (UA) - Legacy support (read-only for existing imports)
- CSV Files - Import from any source using the standard format
Google Analytics 4 Import
Select Property and Date Range
- Choose your GA4 property
- Select the start and end dates for the import
- Optionally add a label to identify this import
GA4 Import Details
- Visitors and pageviews
- Traffic sources and campaigns
- Pages and entry/exit pages
- Custom events
- Geographic data (countries, regions, cities)
- Device data (browsers, operating systems, screen sizes)
- UTM parameters
GA4 imports support resume functionality. If an import fails due to rate limits, it will automatically resume from where it left off.
Import Schema
Import Statuses
- Pending: Import queued, waiting to start
- Importing: Currently in progress
- Completed: Successfully finished
- Failed: Import encountered an error
You’ll receive an email notification when your import completes or fails.
CSV Import
Import data from any analytics platform using Plausible’s CSV format.CSV File Format
CSV files must follow the naming convention:imported_visitorsimported_sourcesimported_pagesimported_entry_pagesimported_exit_pagesimported_custom_eventsimported_locationsimported_devicesimported_browsersimported_operating_systems
Date format in filenames must be YYYYMMDD (e.g., 20230101 for January 1, 2023).
CSV Column Specifications
imported_visitors:Data Export
Export your Plausible data as CSV files for analysis, backup, or migration.Export Features
- Export all your site data in CSV format
- Compressed as ZIP archive
- Store on S3 or local storage
- Includes all metrics and dimensions
- Support for custom date ranges
Creating an Export
Export Storage
S3 Storage (Production):S3 exports have automatic expiration dates. Download your export promptly to avoid it being deleted.
Export Contents
Your export ZIP contains CSV files for:- imported_visitors - Visitor counts and pageviews
- imported_sources - Traffic sources and campaigns
- imported_pages - Page statistics with time on page
- imported_entry_pages - Landing pages
- imported_exit_pages - Exit pages
- imported_custom_events - Custom events and goals
- imported_locations - Geographic data
- imported_devices - Device types
- imported_browsers - Browser information
- imported_operating_systems - OS statistics
- imported_custom_props - Custom properties (if enabled)
Export Filename
Exports are named using the format:Querying Export Status
Check the status of your export:Export with Date Range
Export specific date ranges:Exports respect your site’s timezone setting to ensure accurate date boundaries.
Managing Imports
Viewing Import History
See all past and current imports:- Navigate to Site Settings > Data Import
- View list of imports with:
- Import source (GA4, UA, CSV)
- Date range
- Status
- Import date
- Imported by
Import Labels
Add descriptive labels to imports:Canceling Imports
Deleting Imports
Remove imported data:- Find the import in your import history
- Click “Delete”
- Confirm deletion
- All data from this import will be removed
Deleting an import removes all associated data from your analytics. This action cannot be undone.
Import/Export Technical Details
Data Tables
Imported data is stored in ClickHouse tables:imported_visitorsimported_sourcesimported_pagesimported_entry_pagesimported_exit_pagesimported_custom_eventsimported_locationsimported_devicesimported_browsersimported_operating_systemsimported_custom_props
Import ID Tracking
All imported records include:- Querying data by import
- Deleting specific imports
- Combining native and imported data
Performance Considerations
Import Performance:- GA4 imports use batch processing
- CSV imports support streaming for large files
- Rate limits may slow GA4 imports
- Resume functionality prevents data loss
- 15-minute timeout per export job
- Streaming export to reduce memory usage
- Compression reduces file size
- Parallel query execution
Large exports (millions of events) are optimized using ClickHouse streaming queries and ZIP compression.
Troubleshooting
Import Issues
GA4 import failed:- Check Google account permissions
- Verify GA4 property access
- Review date range (must have data)
- Check for rate limiting
- Verify filename format:
table_YYYYMMDD_YYYYMMDD.csv - Check column headers match specification
- Ensure dates are in correct format
- Validate CSV structure (no missing columns)
- Large imports take time (hours for years of data)
- Check your email for completion notification
- Review import job status in settings
Export Issues
Export failed:- Ensure site has data
- Check storage availability (S3 or local)
- Verify date range is valid
- Review error in email notification
- Check if export expired (S3 only)
- Verify you’re logged in
- Try creating a new export
- Use date range filtering
- Export in smaller chunks
- Contact support for very large sites
Best Practices
Import Historical Data Early
Import GA4 data before making the switch to maintain historical continuity.
Import/Export Limitations
Import Limitations
- One active import per site at a time
- GA4 API rate limits may slow imports
- Date ranges must have actual data
- CSV files must follow exact format specification
- Maximum file size depends on storage configuration
Export Limitations
- 15-minute maximum execution time
- One export job per site at a time
- S3 exports expire after configured retention period
- Must have data to export
- Exports include all site data (no metric filtering)