It’s time to get tracking.
With Universal Analytics’ final goodbye just a few months away, the clock is ticking on your deadline to set up Google Analytics 4. To prep your business for success before July 1, 2023, you need to get your GA4 properties in order — and tracking — as soon as possible.
Over the last year, our marketing team has worked diligently to transition more than 60 eCommerce and non-eCommerce clients from UA to GA4. Along the way, we’ve learned some tips and tricks for a smooth migration that captures everything a business needs to bring from Universal Analytics.
In today’s guide, we’re sharing that process with you, including a helpful GA4 eCommerce Tracking Toolkit to kickstart your efforts.
Read through it now to start configuring your own accounts, or to give your agency a headstart with its operations.
And, if you ever need help with your Google Analytics 4 setup, Inflow is always here to help. Contact us today for an account audit, customized training sessions, or other GA4 services to meet your team’s needs.
Table of Contents
- How GA4 Tracking Differs from UA
- How to Set Up Google Analytics 4: The Basics
- How to Set Up Google Analytics 4 Tracking
How Google Analytics 4 Tracking Differs From Universal Analytics
Before we get into the details of setting up Google Analytics 4 tracking, you need to understand the crucial difference between this platform and Universal Analytics.
GA4 is more than just an “upgraded” version of UA. It’s a completely redesigned system with a totally different approach to event and conversion tracking.
Whereas UA tracked events as different “hit” types (page views, events, transactions, etc.), Google Analytics 4 tracks them all as an “event” — which means you’ll need to do some additional configuration for the most accurate data collection.
You can learn more about how GA4 differs from UA in Google’s complete guide, or you can check out our infographic below for the quick hits:
If you haven’t yet read our introduction to the new Google Analytics 4, we recommend you do so now, to familiarize yourself with the platform. You can also watch our explanatory video below:
How to Set Up Google Analytics 4: The Basics
Before setting up your data tracking, you must first configure your Google Analytics 4 property.
If you haven’t yet done so, follow the steps below to get started. (You can also follow Google’s Setup Assistant within the platform for a hands-on tutorial.)
Step 1: Create Your New GA4 Property.
The first step to your GA4 tracking — make sure you have a property to track with!
You can easily create a Google Analytics 4 property for each of your existing Universal Analytics properties. After hitting “Create Property,” follow these steps to complete the process.
- Click on “Property Settings” in the lefthand navigation menu.
- Fill out the details for the Property as accurately as possible.
At this point, you’ll have your basic property setup, populated with the must-have info. But there are a few other steps involved before you can configure your tracking.
Step 2: Set Up and Connect BigQuery Data Warehouse.
While not all of Google Analytics 4 is limited to a 14-month data retention period, it’s still a good idea to set up a data streaming warehouse to store your long-term historical data.
This way, you’ll have the most “raw” or complete set of your analytics data — and you’ll actually own your data once it hits the data warehouse (which can be incredibly useful for granular data needs like conversion rate testing).
Here at Inflow, we’ve been using BigQuery for our clients, because GA4 provides an easy connection to the platform. It’s also free or very low-cost for many of our mid-sized eCommerce clients’ needs, with 10 GB of complimentary storage.
Before you can link this data stream to your Google Analytics 4 account, you’ll need to set up a project for your site. Follow Google’s guide to doing so, then link this warehouse to your GA4 property as outlined below:
- In Setup Assistant, click on “Link BigQuery” in the “Linking” section.
- Click the blue “Link” button.
- Click “Choose a BigQuery Project.” (You may need to search for the Project ID if you don’t see it listed.)
- Select the appropriate BigQuery project and then click “Confirm.”
- Select the data location (your GA4 property name).
- Select the data streams and frequency. We recommend leaving your frequency set at “Daily.”
- Finally, click to the next step, where you can review and submit your data. You will now be able to see your Google account in the BigQuery Linking page.
Step 3: Link Your Existing Accounts.
In addition to linking BigQuery, you’ll also need to link your Google Ads accounts. This will allow your business to take advantage of GA4’s advanced cross-platform data integration and reporting capabilities.
There are two processes involved in this:
- In Setup Assistant, click on “Link Google Ads” in the “Linking” section.
- Click the blue “Link” button.
- Click “Choose Google Ads Accounts.”
- Select your account and click “Confirm.”
- Click on “Enable Auto-tagging.” Select “Leave my auto-tagging settings as they are.”
- Click “Next” and then “Review your settings.” Hit “Submit” to finish the process.
Google Merchant Center
If you’re using Google Ads for your eCommerce business, odds are you’re also using Google Shopping.
To ensure your GA4 data gets integrated into your Google Merchant Center, you’ll need to link GMC to your new property with the following steps:
- In Google Analytics, click “Admin.”
- In the “Account” column, make sure that your desired account is selected. (If you only have one Google Analytics account, it will already be selected.)
- In the “Property” column, select the property you want to link to Merchant Center.
- In the “Property” column, under “Product Links,” click “Google Merchant Center Links.”
- Click the blue “Link” button.
- Click “Choose Account,” and then select the account you want to link your property to.
- Click “Confirm.”
- Click “Next.”
- Under “Enable Auto-tagging,” choose to enable auto-tagging for the Merchant Center account (or leave the settings as they are).
- Click “Next,” and then review and submit your configuration settings.
How to Set Up Google Analytics 4 Tracking
Now that you’ve completed the first part of the GA4 setup process, it’s time to get into the nitty gritty of conversion tracking.
Remember, Google Analytics 4 tracks events very differently from Universal Analytics. You can’t just import your UA setup into your tracking configuration; you’ll need to go through the following steps to properly configure your events tracking and ensure your analytics data is collecting accurately.
In the section below, we’ve simplified the tracking process by offering a GA4 eCommerce Tracking Toolkit that your development team can upload quickly to your site.
For a full description of the process without these tools, check out Google’s guide.
Step 1: Add a GTM Container to Your Site.
To get your Google Analytics 4 tracking to fire, you’ll need to use Google Tag Manager to add a custom tag to all pages on your site.
Fortunately, we’ve got you covered with our downloadable GTM container. It contains every piece of tracking code you need to start recording events on your eCommerce site. You can simply download it, import it, and configure it in a few steps.
You’ll find your unique measurement ID in Google Analytics 4. In Setup Assistant, navigate to “Tag Installation,” click on your web data stream, and then locate your ID in the upper-right corner of the page.
Add this measurement ID to our GTM container. You’ll also need to add this ID to your GA4 configuration tag.
Then, the container and global site tag will be ready for installation on your website.
Step 2: Set up non-eCommerce Conversion Tracking.
From a non-eCommerce perspective, setting up conversion tracking in Google Analytics 4 can be fairly straightforward.
We recommend identifying any applicable events and conversions in your Universal Analytics properties (again, saving eCommerce events for the next step) and making a list of those you feel comfortable replicating in Google Analytics 4.
Make sure to ignore events that are now automatically tracked — scrolling, outbound clicks, and more. In addition, “path”-type goals likely won’t need to be replicated for your site.
Once you’ve identified the metrics you need to track, you’ll want to set these up in Google Tag Manager using the Google Analytics 4 Event Tag type.
Don’t forget to mark these events as “conversions” in the Google Analytics 4 interface when you’re done, if any of these custom events qualify as conversions.
Learn more about this kind of event tracking setup in Google’s detailed guide.
Step 3: Set Up eCommerce Tracking.
If your site is eCommerce, you’ll need custom tracking to gather data for all of your eCommerce site events. Fortunately, when you use our GTM container, this step becomes much simpler for your development team.
In essence, all they’ll need to do is code our GA4 dataLayer into your website. This dataLayer communicates to Google Tag Manager what eCommerce-related events are happening on the site. (This includes actions like purchases, add-to-carts, refunds, etc.)
Adding the dataLayer code should be fairly straightforward for most eCommerce platforms. Our development partners typically report 5–10 hours of work needed to complete it.
If you’re using a platform like Shopify, WooCommerce, BigCommerce, or Magento, you might consider using an app or extension to install the GA4 dataLayer on your site, instead.
(Note: Many of these platforms now have native integrations with Google Analytics 4. However, there are still pros and cons to using these integrations rather than extensions or manually adding our dataLayer into your site.)
GA4 eCommerce Tracking Toolkit now.
Set Up Your GA4 Tracking Now for More Data Tomorrow
While you technically have until July 1, 2023, to set up your Google Analytics 4 account, we recommend doing so much sooner than that. The earlier you upgrade to GA4 and start tracking your website data, the more historical data you’ll have when Universal Analytics meets its end.
In addition, because Google Analytics 4 is a completely different beast than Universal Analytics, starting your configuration now gives your team more time for trial and error, to learn the new platform, and to parallel track for accuracy of data.
To make that parallel tracking easier, we’ve also created a free, downloadable UA/GA4 Comparison Dashboard for your team’s needs.
As mentioned above, GA4’s Setup Assistant is a great place to start — but it can’t provide the detailed, personal instructions that your eCommerce business needs. For that, we recommend working with a digital marketing agency like Inflow, which can customize your migration process and ensure all of your tracking is correct long before next summer’s deadline.
In the meantime, you can review our other helpful guides on Google Analytics 4 below.