
We are yet to get over the buzz around Google Analytics 4 and its impeccable features. Last year in March, the team announced that they were shutting down the universal analytics properties in July 2023. Since then, every user has started preparing to understand, adopt and imply the new Google Analytics 4 from the inside out.
Now that when everyone finally gets along with this Analytics version, a new integration has erupted. It is none other than the connectivity between Google Analytics 4 and Shopify.
Well, it was on the card for both Google Analytics and Shopify users anyway.
Earlier, this was not the scenario. Users can’t connect Google Analytics to their Shopify store with the Universal Analytics tracking ID. However, the new update has changed everything and has become its primary prospect.
As a result, the urge to connect Google Analytics 4 with the Shopify store has emerged to the highest level.
To help those Shopify merchants and marketers, here we brought a comprehensive guide on “how to connect Google Analytics 4 to Shopify Store.”
Table of Contents
Setting up Google Analytics 4 for your Shopify Store
Setting up Google Analytics 4 in your Shopify store is only a matter of a few clicks. I won’t state that it is easy. But also not that difficult either. However, once you complete the connection, you will enable numerous benefits. Starting from better content and SEO optimization to PPC and user management.
To begin with, you need to first:
Add Google Tag Manager (GTM) to Your Shopify Store
Follow the below procedure to begin the GA4 setup in your Shopify store.
Step 1: Signup/register to create a new Google Tag Manager (GTM) Account. If you already have one, Login directly
Step 2: Click on Admin, then “Install Google Tag Manager” from the options

Step 3: Copy the initial part of the GTM installation code

Now, hold this part for a while. Paste the copied code into your notepad or sticky notes.
Step 4: Login/Sign in to your Shopify store

Step 5: Click on Themes under the “Online Store” menu and then on the three dots to edit code

Step 6: Search and Click on the “theme. liquid” file
Now revert to your Notepad or Stick Notes to select+copy all the GTM codes.

Step 7: Paste it on the header section of the HTML file of the theme. Liquid file and click on the Save
Note: If you are using Shopify Plus, add the GTM code to checkout.liquid file

Step 8: Now, click on the exit button of the page and go back to settings and click on Checkout

Step 9: Scroll down to the Order status page

Step 10: Paste all the GTM codes inside the “Additional Scripts” and click on the Save button

Step 11: Now open your Google Chrome and install the Google Tag Assistant extension

Step 12: Browse back to the home page of your Shopify Store and click on the “Google Tag Assistant” icon on the top right side, next to the browser address bar.
It will show Google Task Manager installed on your Shopify Store.
Now this completes the full-fledged installation process of GTM to your Shopify Store. It is indeed a vital initial process that leads to GA4 setup.
Next, add the Google Channels app to your Shopify store for more diverse results and business operations.
Add Google Channels App to Your Shopify Store
Follow the below step-by-step process to add Google Channels App to your Shopify Store:
Step 1: Login/Sign in to your Shopify Store and click on the “Apps & Sales Channel” under Setting

Step 2: Click on the “Shopify App Store”

Step 3: Type “Google Channel” in the search box to find Google Channels

Step 4: Click on “Google Channel”

Step 5: Click on the “Add App”

Step 6: Click on the “Add Sales Channel”

Step 7: Click on the “Connect Google Account”
Step 8: Click on “Get Started” under “Looking only to set up Google Analytics 4”
Step 9: Select your “Google Analytics 4 Property” and Click on Connect
A message will pop up, notifying “You have successfully set up Google Analytics 4”!
Configure Your Shopify Store for GTM
To configure your Shopify store for Google Task Manager (GTM) or Google Channel App Tracking, find and delete all the hard-coded data layers present in one or many of your theme files related to the following eCommerce events:
- View_item
- Add_to_cart
- Add_payment-info
- Being-checkout
- Purchase
All these events will be automatically tracked once you start using the integrated Google Channel App.
Now, add the data layers to your theme files related to the following eCommerce events:
- View_Cart
- Select_Item
- Select_Promotion
- Remove_from_Cart
- Add_Shipping_Info
- View_Promotion
- View_Item_List
Run Tests of Your GA4 Shopify Tracking Setup
Now, after all the setup hustle, it’s time for the final segment, which is “Testing.” Let me put this straight; you can do the testing by yourself or hire a professional to do it for you. However, self-doing might confuse you and create complexities if you miss a single debugging point. So it’s better to hire Shopify developer from a renowned shopify development company and do the needful.
Conclusion
Every time your customer or any new visitor navigates your site for a couple of minutes, they leave enormous digital footprints. By optimizing those footprints or data, you prepare the best strategy which helps you generate high-end ROI.
The connectivity between Google Analytics 4 to your Shopify store will only enhance your opportunity to access more digital footprints and harness result-driven marketing solutions.
Connecting both might sound daunting, but you have a professional who can ensure more excellent connectivity. Hence, partnering with Metizsoft Solutions – a certified Shopify development company sounds wise and precise.
AboutManthan Bhavsar
Related Posts
Avail The Fruits Of Working With a Magento Service Provider
In this online shopping world, every entrepreneur is aware of the magic of the Magento platform. The feature-rich...
Why Hosted eCommerce Platforms Are Best Solutions?
Why Are Hosted eCommerce Platforms Getting More Famous Nowadays? With so many choices to run a store over the web, it is...