fbpx

Back to all Help articles

Shopify has now released native support for Google Analytics 4, allowing you to track on-site and ecommerce events without requiring template updates. This is excellent news to get accurate analytics passed through to Google marketing tools such as Google Ads and Looker Studio.

Previously if you were looking to set up GA4 tracking it would require adding and updating tags throughout various theme and template files.

How to Install Google Analytics 4 on Shopify

In Google Analytics

  1. Create a base GA4 property and web stream if you do not already have one.
    Google’s instructions are available here.
  2. Note the Measurement ID for the web stream

In Shopify

  1. Visit the Preferences page from the Online Store section
  2. Click Manage Pixel here in the Google Analytics section
  3. Click Connect your Google Account and sign in with Google.
    Note: If you have already set up the Google Sales Channel, you will need to use the same Google account
  4. Select the Measurement ID from the list
  5. Click Connect

Event Tracking

Now that Google Analytics 4 is connected to Shopify via their native integration, the following events will be automatically tracked. If you have already installed GA4 via Google Tag Manager or another method, you will need to disable the Page View tracking so data is not duplicated.

General Events

Event nameEvent description
page_viewA customer visited a page on your online store.
searchA customer searched for a product on your online store.
From Shopify.com

Shopify GA4 Ecommerce Events

Event nameEvent description
view_itemA customer viewed a product on your online store.
add_to_cartA customer added a product to cart.
begin_checkoutA customer started the checkout process.
add_payment_infoA customer successfully entered payment information.
purchaseA customer completed their checkout.
From Shopify.com

Next Steps

Connect Google Ads

With accurate ecommerce data in Google Analytics make the most of it by linking your Google Ads account and tracking relevant and important conversions. Move from basic click tracking to bid on ROAS (Return on Ad Spend) and reach out to customers throughout the purchasing funnel. Our Google Ads Management team love having this data available to optimise and monitor campaign performance.

Report on your data

Import your website data into Looker Studio alongside your other business and social data to understand the bigger picture. What role do online sales play in your business? Are there new opportunities to look into? Support your general marketing strategy with accurate data.