- Google stopped processing data in standard Universal Analytics properties on 1 July 2023 and has since shut UA down; GA4 is the only Google Analytics.
- There is no migration of data: UA history does not carry over, so a store moving now starts GA4 with an empty property.
- GA4 counts everything as events instead of sessions and pageviews, so goals become key events and audiences are rebuilt from events.
- Eight settings are worth fixing right after setup, from unwanted referrals such as PayPal to internal traffic filters.
- GA4 in the browser still misses purchases; sending purchases server-side through the Measurement Protocol closes much of that gap.
Universal Analytics (UA, sometimes called GA3) is gone. Google stopped processing new data in standard UA properties on 1 July 2023, and in Analytics 360 properties a year later, after which it shut down the UA interface and API. Google Analytics 4 (GA4) is now the only version. If your store still has a UA tag in its theme, it sends data nowhere, and if you never set up GA4, you have no Google Analytics data at all.
This guide explains what GA4 does differently, why nothing can be "migrated", how to rebuild your goals and audiences, and which settings to fix first on a store.
What is Google Analytics 4?
GA4 is not an update of Universal Analytics; it is a different product with a different data model. The main differences for a store:
| Universal Analytics | GA4 | |
|---|---|---|
| Data model | Sessions and pageviews, with hits inside them | Events: every interaction is an event with parameters |
| Goals | Destination, duration and event goals | Key events (formerly conversions), marked on any event |
| Ecommerce | Enhanced ecommerce with its own hit types | Recommended ecommerce events such as view_item, add_to_cart and purchase |
| Web and app | Separate properties | Web and app streams in one property |
| Analysis | Standard reports and custom reports | Standard reports plus Explorations: funnels, paths, segments |
| Privacy | IP addresses stored | IP addresses not stored; Consent Mode built in |
Other capabilities that matter for ecommerce: predictive metrics such as purchase probability (once a property has enough data), audiences that can be shared with Google Ads, and a direct export of raw events to BigQuery. Session counts and conversion counts are calculated differently from UA, so do not expect the same numbers for the same period.
Why there is nothing to migrate
"Migrating to GA4" sounds like moving data from one tool to another. It is not. UA and GA4 are separate properties, and Google never offered a way to copy UA history into GA4. UA data could be exported while UA still existed; after the shutdown, it is gone from Google's side.
- Historical sessions, revenue and transactions
- Views, filters and custom reports
- Goals and segments as they were defined
- Key events for your goals
- Audiences from events and conditions
- Ecommerce tracking with GA4 events
- Links to Google Ads and Search Console
How to set up GA4 and rebuild goals and audiences
- Create a GA4 property and a web stream
In GA4 Admin, create a property in your store's time zone and currency, then add a web data stream for your domain. Note the Measurement ID (it starts with
G-). - Install the tag once
On Shopify, use one method only: the Google & YouTube app, a custom pixel, or a tracking app. Remove any old UA tag from the theme and from checkout settings.
- Send ecommerce events
Make sure the store sends GA4's recommended events, above all
view_item,add_to_cart,begin_checkoutandpurchasewith atransaction_id. - Rebuild goals as key events
For each UA goal, find the GA4 event that represents it (for example
generate_leadfor a contact form, orpurchase), then mark it as a key event under Admin › Events. A destination goal becomes an event created from page views of that URL. - Rebuild audiences
Under Admin › Audiences, recreate the audiences you used, such as cart abandoners or past buyers, from events and conditions. Link Google Ads first if you want to use them for remarketing.
- Validate
Use Tag Assistant and GA4's Realtime and DebugView reports to check that events arrive once, with the right values, before you rely on the reports.
Eight settings to fix after setup
A fresh GA4 property works, but some defaults do not suit a webshop. Fix these first, all under Admin:
| Setting | Where | Why |
|---|---|---|
| 1. List unwanted referrals | Data streams › your stream › Configure tag settings | Payment pages such as PayPal, Stripe or Klarna and shop.app otherwise take credit for orders as "referral" traffic. |
| 2. Turn on Google signals | Data collection | Adds cross-device and demographic data for signed-in Google users, within consent rules. |
| 3. Link Search Console and Google Ads | Product links | Brings organic search queries and ad clicks into GA4, and lets Google Ads import key events and audiences. |
| 4. Tag every campaign link | Your ads, emails and social posts | Without UTM tags, traffic from email and social is lumped in as direct or referral. |
| 5. Switch off form interactions in enhanced measurement | Data streams › Enhanced measurement | Its automatic form events fire on newsletter and search fields and add noise; track real leads yourself. |
| 6. Adjust the session timeout | Configure tag settings › Adjust session timeout | The default 30 minutes can split a long browse-and-compare visit into two sessions. |
| 7. Adjust the engaged session timer | Configure tag settings › Adjust session timeout | Sets how many seconds count as an engaged session; pick a value that fits how long your product pages take to read. |
| 8. Exclude internal traffic | Configure tag settings › Define internal traffic, then Data filters | Your own team's visits and test orders should not count as customers. |
Our guide to UTM parameters for Google Ads and the one on UTM parameters for Meta and TikTok cover the tagging in step 4.
Why GA4 still misses purchases
A GA4 tag in the browser has the same limits as any pixel: ad blockers, declined consent, browsers that limit cookies and shoppers who close the tab before the thank-you page loads all stop the purchase event. The result is less revenue in GA4 than in Shopify, and channels that lose credit. Sending the purchase from your store's server through GA4's Measurement Protocol, with the visitor's GA4 client id and session id from the browser, recovers many of those orders without counting any twice, because the transaction_id is the same on both. See server-side tracking for Shopify for how the two sides fit.
GA4 in ROASaurus
ROASaurus can send purchases to GA4 server-side. Add Google Analytics 4 under Connections › Tracking & destinations with your Measurement ID and a Measurement Protocol API secret. Each paid order then goes to GA4 as a purchase event with the order id as transaction_id, using the _ga client id and the GA4 session the storefront script read, so the order lands in the visitor's own session. Refunds can be sent too. For visitors who did not consent, the event is sent without user data or identifiers. Each delivery is listed in Data quality › Deliveries.
To read GA4's own numbers next to your store data, connect Google under Connections › Channels; the GA4 report and explorer then appear under Website › Search › GA4.
Next step
Sources
- Google Analytics Help: Universal Analytics has gone away
- Google Analytics Help: Identify unwanted referrals
- Google Analytics Help: Define internal traffic
- Google Analytics: Measure ecommerce
- Google Analytics: Measurement Protocol (GA4)