Feature · DataFair features

Move from GA4 Without Losing Your History

Export your Google Analytics 4 data as CSV and import it into DataFair, so your charts and top sources go back further than your first tracked day.

· 3 min read

A dashboard frame with a rising line and the DataFair mark

The biggest reason people stay on a tool they don't like is history. Switching analytics usually means your charts restart at zero, and year-on-year comparisons disappear. DataFair imports your Google Analytics 4 history from CSV files, so they don't.

What gets imported

Imported days fill in:

  • Daily visitors, pageviews and sessions, plus bounce rate and average session duration when present
  • Top sources, channels and campaigns
  • Countries, devices, browsers and operating systems
  • Landing pages

Revenue isn't imported. Payments come from your providers, with sources attached, from the day you connect them. Why that's more reliable than GA4's purchase events.

Export from GA4

GA4 exports one report at a time, and each file needs a Date column with one row per day.

  1. 1Open a report or explorationFor example Reports, Acquisition, Traffic acquisition
  2. 2Add Date as a dimensionDataFair needs one row per day
  3. 3Choose metricsTotal users, Views and Sessions for daily totals
  4. 4DownloadShare this report, Download file, Download CSV
Export a GA4 report for DataFair

For breakdowns, add a second dimension next to Date:

  • Session source or Session default channel group
  • Country
  • Device category, Browser or Operating system
  • Landing page

Set the date range to everything you want to keep.

Import into DataFair

  1. Open your website's settings in DataFair, then Import history.
  2. Upload all your CSV files at once.

Some details that keep your data honest:

  • No double counting. Days DataFair already tracked are skipped, so an import never overlaps live data, and importing the same file twice adds nothing.
  • Missing totals. If no file has daily totals, DataFair adds them up from the first breakdown and tells you.
  • Top 10. Each day keeps the top 10 rows of each breakdown.
  • Undo. Each import can be removed in one click.

"All time" then starts at your first imported day.

Run both for a while

Many teams keep GA4 running for a few weeks after adding DataFair. That gives you overlapping days to compare, and time to move dashboards and habits. Expect DataFair's visitor numbers to be higher than GA4's if many of your visitors decline cookie banners, since DataFair's cookieless mode counts them.

Coming from Plausible?

Upload Plausible's export ZIP as it is. No need to unzip or pick files.

The DataFair overview with visitors and revenue by day
Imported days appear in the same charts as tracked days. DataFair demo (sample data).

Still deciding? See DataFair vs Google Analytics 4 and the best GA alternatives.

Related guide: A Google Analytics alternative built around revenue.

Questions

Can I import GA4 revenue?
No. Revenue in DataFair comes from your payment provider's webhooks, attributed to the visits that led to each payment, starting from when you connect.
How far back can I import?
As far back as your GA4 property keeps data. Each file needs a Date column with one row per day.
Will imported data count towards my event limit?
No. Event limits apply to events DataFair tracks, not imported history.

Related