Moving from Google Analytics

Your Google Analytics history comes with you

Import every GA4 property into Pagebee in one step, keep both running for 30 days, then remove Google's tag and, if nothing else needs it, your cookie banner. Imported days don't count toward your usage.

Sign up free, then open workspace settings, Import.

What comes over

  • Visitors, sessions and pageviews per day
  • Bounce rate and time on site
  • Top pages
  • Referrers and UTM campaigns
  • Countries, devices, browsers and systems
  • Your own events and key events, with counts

Daily totals and breakdowns, for every day since you set up GA4 and before Pagebee's own data starts.

What doesn't

  • Universal Analytics data, which Google deleted in 2024
  • Events GA records on its own, like scroll and session_start (Pagebee counts pageviews its own way)
  • Audiences, explorations and anything tied to a person
  • Google Ads and Search Console links
  • Key event settings (recreate them as goals)

Four steps

Import, run both for 30 days, then remove Google's tag

  1. 1Make a read-only keyIn Google Cloud, turn on the Analytics Data and Admin APIs and create a service account with a JSON key. Paste the key into workspace settings, Import, then add the account's email to Google Analytics as a Viewer.
  2. 2Pick propertiesEach GA4 property is matched to a site with the same domain, or a new one is made with GA's domain and time zone. Skip any you don't want.
  3. 3ImportHistory comes over in the background with progress per property. You can close the tab. Rerunning it is safe.
  4. 4Swap the tagAdd the Pagebee script beside Google's tag. After 30 days of both, remove Google's tag and delete the service account.
Step 4: both tags, for 30 days
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-XXXXXXXXXX');
</script>
<script defer src="https://api.pagebee.ai/script.js" data-site="pb_pk_your_site_key"></script>

The full setup, with links to each Google Cloud page, is in the import guide .

Running both

Why the numbers will differ

Google Analytics and Pagebee count in different ways, so expect gaps. Here is where they come from, so you can tell a real change from a counting one.

Consent banners hide people from GA

Where your banner asks first, GA only sees the people who accept, and models some of the rest. Pagebee sets no cookie and adds nothing to your banner, so it counts people whether they accept or not. Expect more visitors here, most of all from the UK and EU.

Visitors are counted per day

GA follows a browser across days with a cookie. Pagebee counts daily visitors and forgets them at the site's midnight. Daily numbers land close; a month of GA users and a month of Pagebee visitors don't compare.

Bounce rate means something else

GA4 calls a visit a bounce when it isn't “engaged”: under 10 seconds, one page and no key event. In Pagebee a bounce is a visit with one pageview.

Small rows and bots

GA can hide small numbers and group rare values into “(other)”, and what GA shows is what comes over. We drop prefetches, headless browsers and hosts you haven't named, and keep preview deploys out of production.

Questions

About the move

Does the import cost anything?

No. Imported days don't count toward your event usage, on Free or Grow.

Can I bring my Universal Analytics data?

No. Google switched Universal Analytics off and deleted its data in 2024. Everything since you set up GA4 can come over.

What if a day has both GA and Pagebee data?

Pagebee's own data wins. The import only fills days before your first Pagebee event, so nothing is counted twice.

Can I run the import again?

Yes. It's safe to rerun and keeps the days it has finished. Google limits how many reports each property can ask for an hour, so a big property with years of history may need a second run later.

Do I need to keep the service account?

No. Delete it, or its key, in Google Cloud once the import finishes. Pagebee only uses it for imports, and it can only read.

Can I drop my cookie banner?

Pagebee sets no cookies and stores nothing on your visitors' devices, so it adds nothing to a banner. Once Google's tag is gone, whether you still need one depends on the other scripts you run.

Import your Google Analytics history and run both for 30 days

Free to 100,000 events a month, on every site you ship. No card.