Google Analytics 4 (GA4) has replaced Universal Analytics (UA) in 2024 for Google 360 users. GA4 is positioned as the next step in measurement standards, offering a broader range of data tracking.

In GA4, many metrics used in UA have been removed or replaced, and the reporting interface has seen a major overhaul. For instance, while UA allows up to 25 reporting views, GA4 provides only one. To compensate for this, you can add ‘Audiences’ and ‘Data streams’.

One of the biggest differences between GA4 and UA is the measurement models. GA4 focuses on events and parameters rather than sessions and pageviews. Every user action is treated as an ‘event’ in GA4, providing more detailed insights into how visitors interact with your website.

GA4 lets you track data across both websites and apps, offering more flexibility in measuring performance.

Before you start gathering data about your store, you need to have a Google Analytics account and create a Google Analytics 4 property. Then, set up Google Analytics 4 on the Shopify store and link your Google Ads account to your Google Analytics account.

Set Google Analytics 4 on Shopify Platform

Steps to Set up Google Analytics 4 

Step 1: Create a Google account and a Google Analytics account

  • Create a Google account to use Google Analytics. 
  • If you already use Google products such as Gmail or Ads, you can use the same account for Google Analytics.
  • If you don’t already have an account for a Google product, you can create a Google account. You don’t have to use the Gmail account for anything other than signing in and out of Google Analytics.

Step 2: Create or move a Google Analytics 4 property

Step 3: Add Google Analytics 4 tags

  • If you don’t have the Google & YouTube channel installed, you’ll be prompted to install it during the setup process for your GA4 tags. 
  • You don’t need to connect to Google Merchant Center to complete your GA4 tags setup.

Steps:

  1. From your Shopify admin, go to Online Store > Preferences.
  2. In the Google Analytics section, click Manage Pixel here.
  3. Click Connect your Google account.
  4. In the Your Google Analytics property section, select the tag for the GA4 property that you want to connect to your Shopify store.
  5. Click Connect.

After you set up Google Analytics 4 tags, certain e-commerce events are tracked automatically. 

Read Also: Shopify Analytics

Tracking Additional Google Analytics Events

  • After you set up Google Analytics 4 (GA4) on your Shopify store, certain ecommerce events are tracked automatically.
  • Events allow you to measure specific actions that occur on your Shopify store. For example, you can use events to track when a customer views a product, adds a product to their cart, or completes a purchase.

Automatically Tracked Google Analytics 4 Events

After you set up GA4 on your store, the following events are automatically tracked.

Event nameEvent description
page_viewA customer visited a page on your online store.
SearchA customer searches for a product on your online store.
view_itemA customer viewed a product on your online store.
add_to_cartA customer added a product to the cart.
begin_checkoutA customer started the checkout process.
add_payment_infoA customer successfully entered payment information.
purchaseA customer completed their checkout.

Step 4: Link your Google Analytics account to your Google Ads account

Linking a Google Analytics property to your Google Ads account helps analyze customer activity on your store, which you can use to measure key events and create audiences.

To link your Google Analytics account to your Google Ads account, refer to Link Google Ads and Analytics.

Installing Google Analytics 4 on Shopify

There are several ways to install GA4 on your Shopify platform, each with its own pros and cons. It’s important to consider your store’s needs in terms of flexibility and customer consent before deciding on the best method.

Keep in mind that your needs can evolve over time. You might start with the Google channel app and later find that you need more flexibility. You can always adjust your setup without losing any data, as long as you continue sending it to the same property.

Picture of Santhosh

Santhosh

Santhosh is a devoted Technical lead and Shopify developer for over 6 years. He's well-versed in Liquid, HTML, CSS, Bootstrap, Fomantic UI, JavaScript, and jQuery as well Core PHP. His passion to stay updated on technology and well scheduled & documented in his work. He also completed Certification in Shopify App Developement, Certification in Shopify Product Fundamental(2), Certification in Shopify Theme Development. By collaborating closely with clients and grasping their business knowledge for the perfect website development & always comes up with multiple solutions and new suggestions. Santhosh believes that the client's success is important and delivering the class websites.

Begin Your eCommerce Journey

Get Expert Advice

At Klizer, we bring over 18 years of specialized expertise in ecommerce website development and design.

© Copyright 2024 Klizer. All Rights Reserved

Scroll to Top