How to Install Google Analytics 4 on Your Shopify Store

Install GA4 With Native Shopify APP:

In this video tutorial, we’ll guide you through installing the latest version of Google Analytics on your Shopify store using the native Shopify app. With Google having retired support for Universal Analytics and transitioning to Google Analytics 4, updating your tracking to the new version is crucial to continue accessing valuable reporting data. So, let’s dive right in and get started.

Step 1: Creating a New Google Analytics Property
The first step is to create a new Google Analytics property. Here’s how you can do it:

  1. Go to
  2. Click on the gear icon in the bottom left corner where it says ‘Admin.’
  3. Then, click on the ‘Create Account’ button.
  4. Name your account.
  5. Continue through the setup process, selecting the appropriate category and business size.
  6. Define your business objectives (e.g., examining user behavior for a Shopify store).
  7. Accept the data processing terms.

Step 2: Setting Up Your Shopify Store
Before installing Google Analytics using the native Shopify app, ensure you don’t have existing Google Analytics code in your theme. liquid file or checkout settings. Duplicate data can lead to inaccurate reporting. Here’s how to check:

  1. In your Shopify dashboard, click on ‘Online Store.’
  2. Navigate to ‘Themes’ and click on ‘Edit code.’
  3. Search for ‘g tag’ in your theme. liquid file. If you find Google Analytics code, remove it and save the changes.
  4. Check the ‘Additional scripts’ in the ‘Checkout’ settings for any existing Google Analytics code or Google Tag Manager code. Remove them if present and save your settings.

Step 3: Installing Google Analytics Using the Native Shopify App
Now, let’s install Google Analytics 4 on your Shopify store using the native app:

  1. Return to your Shopify dashboard.
  2. Click on ‘Preferences’ in the left-hand menu.
  3. Find the ‘Google Analytics’ section.
  4. Click on ‘Manage Pixel.’

You will see a screen that allows you to add a sales channel.

  1. Click on ‘Add Sales Channel.’
  2. Search for ‘Google and YouTube’ and add the sales channel.

Next, click ‘Connect’ and grant the necessary permissions to link your Google account to your Shopify store. Select the Google Analytics 4 property you created earlier and connect it.

Congratulations! You’ve successfully installed Google Analytics 4 on your Shopify store using the native app. Your store is now equipped to collect valuable data on user behavior, helping you make informed decisions about your marketing strategies and ad budgets.

3.8/5 - (9 votes)


Leave a Comment

Your email address will not be published. Required fields are marked *