If you're comparing Umami vs Google Analytics, check two things: what GA4 does that Umami doesn't, and what happens to your history. If you're still choosing a tool, see Umami vs Plausible, self-hosted and Plausible pricing at your traffic. This guide covers the move itself.

In April 2024, a developer moving to Umami from Mixpanel asked the project for a way to import his old data. Umami's maintainer answered that self-hosted Umami has no import feature, because an import is database specific and a self-hoster already has full access to the database. The developer wrote his own. It took him about 6 hours to map his data to Umami's format. Loading it took a couple more.

What stays in GA4 after you stop using it

GA4's data retention setting keeps event data in a standard property for 2 or 14 months, and longer periods are only for paid GA4 360 properties. The same help page says that the setting does not affect standard aggregated reports and only limits explorations and funnel reports. So the traffic, pages, sources and conversions in your standard reports aren't cut by that clock. Google Ads figures are the exception, because GA4 shows them for a rolling 36 months.

Explorations keep age, gender and interest data for 2 months whatever you set. Large and XL properties are held to 2 months of event-level data.

Why your history can't come with you

Umami Cloud does import data, starting on the Pro plan. Umami's staff run it after you email support, and the sources they list are self-hosted Umami databases and CSV exports. GA4 isn't named, so ask them before you count on it. Self-hosted Umami has nothing like it. Even moving Umami's own Cloud data onto a self-hosted server takes a script you write, the maintainer said in January 2025.

Umami's collection endpoint accepts a timestamp, which looks like a way in. The field was added to import historical access logs. GA4's standard reports and their downloads hold totals, such as sessions per day. Turning one day's session count into that many fake hits would invent the visitors, visits and bounce rate Umami calculates from each session, and the maintainer has said session data is the tricky part of an API import. We don't recommend it, because the charts fill in but the visitor counts for those months aren't real.

GA4's BigQuery event export is the exception. If you linked it months ago, its daily tables hold your raw events, and a developer who knows SQL can write a script that loads them into Umami's database. That only reaches back to the day you linked BigQuery, and it's a project to plan and test before you trust the numbers.

What you give up, and what Umami covers

In GA4In UmamiWhat to do
History from before the switchNot imported on a self-hosted serverExport the reports you need and keep the GA4 property
Google Ads link and remarketing audiencesUmami has no Ads link, though it records ad click IDs such as gclid from your URLsRead ad results in Google Ads itself
Search Console queries and landing pagesSelf-hosted Umami doesn't have it. Umami's maintainer says Search Console support has landed in Umami's development code as an Umami Cloud integrationRead them in Search Console
Age, gender and interestsUmami doesn't collect themNo replacement
Modeled data for visitors who decline cookiesNo modeling. Umami counts the visits its script seesNo replacement
Predictive metricsUmami has noneNo replacement
Outbound clicks, file downloads and form interactions, counted as events automatically when enhanced measurement is onCounted as events only when you add event tracking yourselfAdd data attributes to the links and buttons you care about
Key events, UTM reports, funnels and attributionGoals, a UTM report, funnels, and first- or last-click attributionRebuild your key events as goals

The first two columns come from Google's and Umami's docs and Umami's GitHub, listed in the sources below and checked by October 15, 2026. Where Umami's docs don't mention a feature, the row says it has none. The Search Console row follows a pull request Umami closed in October 2026. If you run Google Ads, weigh the Ads row most, since Umami has nothing in its place.

Where your GA4 history can go

RouteWhat it copiesLimits and cost
Report download (CSV or Google Sheets)Any standard report, for the date range you pickUp to 100,000 rows per file. Free
BigQuery's GA4 connectorReport tables, as far back as GA4's retention allowsThe transfer is free, BigQuery bills storage and queries, and the free sandbox can't run it. User and session totals may not match GA4
GA4's BigQuery event exportRaw events, from the day you link it, with no backfill1 million events a day on a standard property. BigQuery bills storage and processing
GA4 Data APIReport data, pulled by a script you write250,000 rows per request and 200,000 tokens a day per property

For most sites the report download is enough. BigQuery suits you if you want tables you can query long after the GA4 property goes quiet, and you're fine with a BigQuery bill for storing and querying them.

Move to Umami step by step

We didn't move a real GA4 property for this guide, since we put no Google account into our tests. Where a step depends on Google's or Umami's docs, it links the page, as checked on October 15, 2026, so you can confirm the details before you change anything.

We did run Umami itself, in our own test on Oct 21, 2026, on a 2 vCPU, 4 GB test machine (arm64), not a DreamHost server. Umami 3.4.0 counted all 30,000 test pageviews we sent to its tracking endpoint. The dashboard summary for those 30,000 rows came back in 0.03 seconds. The database grew about 1 KB per pageview, so a personal site with tens of thousands of pageviews a month adds well under 1 GB a year. These were synthetic events sent in a few minutes, and months of real traffic will look different.

  1. List what you use in GA4 and raise its retention

    Write down the reports you open each month, your key events, the UTM campaigns you tag, and whether Google Ads or Search Console is linked. Then open Admin, go to Data Settings > Data Retention, and set event data retention to 14 months if it's on 2. Google applies a longer setting to data it hasn't deleted yet, so your explorations reach further back while you export. The change takes effect after 24 hours, and you need the Editor role to make it.

  2. Export the reports you'll want

    Export each GA4 report you rely on as a CSV file or to Google Sheets. Our suggested starter set is Pages and screens, Landing page and Traffic acquisition, each with the date range set to the life of the property, plus the key events from your list. A file holds up to 100,000 rows. If a report has more rows than that, split its date range across several files. Rebuild and export anything you made in Explorations first, since that's the part the retention setting cuts.

  3. Copy more history into BigQuery, if you need it

    Run BigQuery's GA4 connector in a BigQuery project with billing turned on. Skip the free BigQuery sandbox. It doesn't run transfers, and it deletes its tables after 60 days. If you'd also like raw events going forward, set up BigQuery export now. A Google developer forum answer confirms it doesn't backfill.

  4. Start your Umami server and update it

    A DreamHost VPS with Umami comes with Umami 3.2.0, PostgreSQL 15 and Caddy installed, and it requests a Let's Encrypt certificate at first boot. Connect to your server over SSH and print your admin login:

    bash
    sudo cat /root/.umami_credentials

    Sign in, change the password and add a website. Update to the latest release before you go live. The installed 3.2.0 predates Umami 3.3.0, which added two-factor login, and 3.4.0, which added notes on the chart. Run umami-backup first, then umami-update, which pulls the newest version and warns that a database migration may be one-way.

  5. Add the Umami script next to GA4

    Paste Umami's tracking script into your site's <head>, beside the GA4 tag. If your tags live in Google Tag Manager, add Umami with a Custom HTML tag, because Tag Manager strips the script's data attributes.

  6. Rebuild your key events as Umami goals

    Umami counts a click as an event only when you tell it to track it. Add a data attribute to each button or link from your list, with an event name of 50 characters or fewer. Then create a goal for each event or page that counts as a conversion. Visits with UTM tags show up in the UTM report with no extra setup.

  7. Run both for a month and compare trends

    Leave both tags running for a full calendar month, then compare your top pages, top referrers and which way traffic moved each week. The totals won't agree, and a month is our suggestion. Umami's visitor count uses a salt that resets at the start of every month, so a calendar month gives you one complete visitor count to set beside GA4's.

  8. Remove the GA4 tag and keep the property

    Write down the date you switched and add it as a note on the chart, then take the GA4 tag off your site and leave the property where it is. Then set up a regular copy of each umami-backup file to somewhere off the server, since the script saves it to the server's own disk.

Leaving GA4 for Umami FAQs

Why don't my Umami and GA4 numbers match?

They count people differently. GA4 tells users apart with first-party cookies. Umami hashes details such as the browser and site with a salt that changes each month. Some ad blockers stop Umami's script, and visitors who decline cookies can drop out of GA4. Compare top pages and week-to-week trends.

How long does self-hosted Umami keep my data?

Self-hosted Umami has no retention limit, so everything from the switch date onward stays in the server's PostgreSQL database until you delete it, and copying backups off the server is your job.

Does any analytics tool import GA4 history?

Plausible can. Its GA4 import brings in day-level totals, so unique visitors over a longer range are summed from daily counts. We compare the two tools in Umami vs Plausible, self-hosted.

Sources
  1. Support API based import/export for pageviews as JSON, Umami (GitHub), Oct 9, 2026. github.com/umami-software/umami/issues/2653
  2. how to import data to self-hosted umami, Umami (GitHub Discussions), Oct 9, 2026. github.com/umami-software/umami/discussions/2199#discussioncomment-11991063
  3. Data retention, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/7667196
  4. Delete a property, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/1042032
  5. Import Data, Umami Software, Oct 15, 2026. docs.umami.is/docs/cloud/import-data
  6. Send tracking data, Umami Software, Oct 15, 2026. docs.umami.is/docs/api-reference/send
  7. Allow populating event's createdAt on the send endpoint, Umami (GitHub), Oct 9, 2026. github.com/umami-software/umami/pull/3157
  8. Metric definitions, Umami Software, Oct 15, 2026. docs.umami.is/docs/metric-definitions
  9. BigQuery Export, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/9358801
  10. Connect Google Ads to Google Analytics, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/9379420
  11. Create, edit, and archive audiences, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/9267572
  12. Connect Search Console to Google Analytics, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/10737381
  13. feat(integration): Google Search Console search terms, Umami (GitHub), Oct 15, 2026. github.com/umami-software/umami/pull/4117
  14. Activate Google signals, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/9445345
  15. Behavioral modeling for consent mode, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/11161109
  16. Predictive metrics, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/9846734
  17. Enhanced measurement events, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/9216061
  18. FAQ, Umami Software, Oct 15, 2026. docs.umami.is/docs/faq
  19. Share and export reports, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/9317657
  20. Load Google Analytics 4 data into BigQuery, BigQuery documentation, Oct 15, 2026. docs.cloud.google.com/bigquery/docs/google-analytics-4-transfer
  21. BigQuery sandbox, BigQuery documentation, Oct 15, 2026. docs.cloud.google.com/bigquery/docs/sandbox
  22. Set up BigQuery Export, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/9823238
  23. GA4 Bigquery All Data, Google Developer forums, Oct 15, 2026. discuss.google.dev/t/ga4-bigquery-all-data/153245
  24. Data API basics, Google for Developers, Oct 15, 2026. developers.google.com/analytics/devguides/reporting/data/v1/basics
  25. Data API quotas, Google for Developers, Oct 15, 2026. developers.google.com/analytics/devguides/reporting/data/v1/quotas
  26. Releases, Umami (GitHub), Oct 15, 2026. github.com/umami-software/umami/releases
  27. Google Tag Manager, Umami Software, Oct 15, 2026. docs.umami.is/docs/google-tag-manager
  28. Track events, Umami Software, Oct 15, 2026. docs.umami.is/docs/track-events
  29. Track outbound links, Umami Software, Oct 15, 2026. docs.umami.is/docs/guides/track-outbound-links
  30. Track file downloads, Umami Software, Oct 15, 2026. docs.umami.is/docs/guides/track-file-downloads
  31. Track form submissions, Umami Software, Oct 15, 2026. docs.umami.is/docs/guides/track-form-submissions
  32. Goals, Umami Software, Oct 15, 2026. docs.umami.is/docs/goals
  33. UTM, Umami Software, Oct 15, 2026. docs.umami.is/docs/utm
  34. Funnel, Umami Software, Oct 15, 2026. docs.umami.is/docs/funnel
  35. Attribution, Umami Software, Oct 15, 2026. docs.umami.is/docs/attribution
  36. Annotations, Umami Software, Oct 15, 2026. docs.umami.is/docs/annotations
  37. Cookie usage on websites, Google Analytics Help, Oct 15, 2026. support.google.com/analytics/answer/11397207
  38. Bypass ad blockers, Umami Software, Oct 15, 2026. docs.umami.is/docs/bypass-ad-blockers
  39. Import stats from Google Analytics, Plausible, Oct 15, 2026. plausible.io/docs/google-analytics-import
  40. SSH overview, DreamHost Help Center, Oct 9, 2026. help.dreamhost.com/hc/en-us/articles/216041267-SSH-overview
  41. Umami on VPS, DreamHost, Oct 15, 2026. dreamhost.com/hosting/vps/umami

Need Some Help?

Whether you're stuck or just want some tips on where to start, hit up our experts anytime. We're here to help!

DreamHost Sales Help

24/7/365 Through the Chat Widget

Customer Support Chat

24/7/365 Through the Panel

Go to Panel
Customer Support Email

24/7/365 Through the Panel

Go to Panel