Import from Google Analytics
Bring your Google Analytics 4 history into Pagebee. Imported days don't count toward usage.
Universal Analytics can't be imported: Google switched it off and deleted its data in 2024. Everything since you set up GA4 can.
Steps
Pagebee reads your analytics through a Google Cloud service account: a robot user you create, give a key, and add to Google Analytics as a Viewer. It can only read.
- In the Google Cloud console, pick or create a project. Turn on the Google Analytics Data API and the Google Analytics Admin API for it.
- Open Service accounts and create one. It needs no roles in Google Cloud. Open it, go to Keys, add a key, choose JSON and download it.
- In Pagebee, open workspace settings, Import, Google Analytics, and paste the key file (or choose it).
- In Google Analytics, open Admin, Property access management, and add the service account's email (Pagebee shows it, with a copy button) as a Viewer. Do this on each property you want, or once on the account to cover them all.
- Back in Pagebee, check again. Each GA4 property is matched to a site with the same domain, or a new site is made with GA's domain and time zone. Skip any you don't want.
- Start the import. It runs in the background with progress per property, and you can leave the page.
What comes over
Daily totals (visitors, sessions, pageviews, bounce rate, time on site) and breakdowns:
- Pages, by path
- Referrers, from GA's session source (search engines appear as their domain, for example google.com)
- UTM source, medium and campaign, from the values in your tagged links
- Countries, devices, browsers and operating systems
- Your own events and key events, with counts. Events GA records on its own (page_view, session_start, scroll, click and the like) are left out, since Pagebee counts those its own way
How the numbers differ
- Visitors. GA counts users with a cookie that lasts across days. Pagebee counts daily visitors without one. GA's daily users are usually close; its totals over a month are not comparable.
- Bounce rate. GA4 calls a session a bounce when it isn't "engaged" (under 10 seconds, one page, no key event). Pagebee's is one pageview.
- Small numbers. GA can hide or model rows to protect privacy, and groups rare values into "(other)" on busy properties. What GA shows is what comes over.
- Days. Days follow the GA property's time zone. If you import into an existing site with another time zone, the edges of each day shift by those hours.
Overlap
Pagebee's own data wins. The import only fills days before your first Pagebee event for that site, so nothing is counted twice. Rerunning it is safe: it rewrites imported days and skips live ones.
Limits
Google allows each property a number of report requests an hour and a day. A big property with years of history can run into that. The import waits and retries, and if Google still says no, that property is marked with the reason. Run the import again later: finished days are kept.
After the import
Add the Pagebee script beside Google's tag, run both for 30 days, compare, then remove Google's. Read Moving from Google Analytics for why the numbers differ. You can delete the service account or its key in Google Cloud once the import has finished; Pagebee only uses it for imports.