Shopify Tips: How To Add Google Analytics To Shopify

Aug 10, 2021 | Shopify | 0 comments

5 min read

Any ecommerce store owner knows how important it is to understand how their customers are using their platform. Making guesses and following your gut takes less time, but does it really work? We don’t think so. If you want to make sure that your efforts aren’t going in vain, it’s crucial to make data-driven decisions.

Google Analytics is a great tool that can give you an in-depth idea of your customer purchase pattern. Even if you want to add Google Analytics to Shopify, you might find the process too difficult. But that’s what we’re here for! We’ve prepared for you a step-by-step breakdown of how you can seamlessly integrate Google Analytics to Shopify. Without further ado, let’s look at how to add Google Analytics to Shopify.

Limitations of Shopify Analytics

We understand that you may be inclined to stick to Shopify Analytics if you run your store on Shopify. However, integrating Google Analytics to Shopify can give you access to many options that Shopify Analytics can’t provide. 

Wondering what some of the limitations of Shopify Analytics are? Here’s a list breaking it down for you:

Limited by Shopify Plan

The options and insights available to you on Shopify Analytics are dependent on the plan you choose. So, choosing a basic plan can greatly reduce the results you can generate. Google Analytics does not impose such restrictions as it is free. 

Limited by Customer Size

Shopify Analytics only gives you results for 2,50,000 customers. But if you have more users, what should you do? Go with Google Analytics, and you will be able to overcome this limitation.

Limited by Platform

Unlike Shopify Analytics, you can use Google Analytics with any platform. This will allow you to use other platforms like Wix or WooCommerce. Getting familiar with Google Analytics can ease such a transition. 

Limited by Features

Shopify Analytics gives you a general overview of your customer behavior. However, if you want to delve deep, it’s better to opt for Google Analytics. Google Analytics has more features, and it is updated with many features regularly.

With Shopify Analytics, you can’t compare different sources of traffic. Google Analytics will tell you, for example, whether people buy more using phones or computers. That can help you create a suitable user interface and user experience for your customers.

These state-of-the-art features will give you a much better understanding of your customers’ behavior. With such data, you can craft strategies that will help you achieve your goals.  

How to add Google Analytics to Shopify: A step-by-step breakdown

Step 1: Check if you have Google Analytics enabled already

There are two telltale signs that you already have Google Analytics enabled on your Shopify store. 

Sign 1: Google Analytics Tracking Code

  1. Go to your Shopify Admin.
  2. Then click on the Online Store and go to Preferences.
  3. There is a Google Analytics section here. You’ll find a box in this section.

add google analytics to shopify

If the box isn’t empty and you see a tracking code starting with UA- in the box, then Google Analytics is already enabled. 

Sign 2: Google Analytics Tracking Tag

If the box is empty and only has Paste your code from Google here written, go to Themes.

Then, go to Actions and click on Edit code

add google analytics to shopify

In the Layout section, go to {/} theme.liquid and check if there are any Google Analytics tracking tags like ga.js, dc.js, gtag.js, analytics.js. If these tags are present, then Google Analytics is already enabled. 

add google analytics to shopify

If none of the two signs are present, then Google Analytics isn’t already enabled, and you can go to Step 2.

Step 2: Create a Google Account and Google Analytics Account

If you already have a Google Account, such as a Gmail account, you don’t need to create a new Google Account, and you can skip to Step 3. You can use your Gmail account for Google Analytics.

Step 3: Add Google Analytics to Shopify

To enable Google Analytics, you must create a Universal Analytics property in Google and add it to your Shopify store.

After you sign in to your Google Analytics account and select Admin, you’ll see that your Google Analytics profile will have three separate columns. These are the Account column, the Property column, and the View column. 

add google analytics to shopify

  1. Check the Account column and select the right account
  2. In the property column, click Create Propertyadd google analytics to shopify
  3. In the Property name box, enter a property name. Choose your preferred reporting time and currency.
  4. Then click on Show advanced options.add google analytics to shopify
  5. After doing this, enable Create a Universal Analytics property and enter the URL of your website in the Website URL box. 

add google analytics to shopify

  1. Select the Create a Universal Analytics property only option and then click Next.

add google analytics to shopify

  1. Enter your business information and click Create.

add google analytics to shopify

  • Enter your business information and click Create
  • Copy the Universal Analytics property and open your Shopify admin in a new tab
  • From there, select Online store  and then Preferences
  • Paste the code you copied in the Google Analytics account field

You’re almost done! Just move to the final step, Step 4.

Step 4: Turn on e-commerce tracking

With Google Analytics, you can get information with two different degrees of detail. 

If you want revenue and transaction data, turn on basic e-commerce tracking.

If you want much more data about those who visit your online store, turn on enhanced e-commerce tracking.

How to turn on basic e-commerce tracking

Go to your Google Analytics account by clicking here and go to Admin.

Look for the View column. There, you should click on Ecommerce Settings.

add google analytics to shopify

Click on Enable Ecommerce and turn it ON from OFF.

add google analytics to shopify

How to turn on enhanced e-commerce tracking

  1. Go to Shopify admin, then go to Online Store and click on Preferences.
  2. Go to the Google Analytics section and click on the checkbox beside Use Enhanced Ecommerce to select it. If you’re using an old version of Google Analytics, you might have to click on Upgrade to the latest version to upgrade Google Analytics and enable enhanced e-commerce tracking.
  3. Click on Save to save your settings so that Shopify sends your website data to Google Analytics.
  4. Then go to your Google Analytics account and click on Admin.
  5. Go to the View column, where you will find Ecommerce settings. Click on it.
  6. To turn on enhanced e-commerce tracking, click on Enable Enhanced Ecommerce Reporting to turn it ON from OFF.add google analytics to shopify
  7. Finally, click Save to save your settings.

To Conclude

Go ahead and integrate Google Analytics to Shopify and get a detailed view of your customer preferences to boost your sales!


Submit a Comment

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

Follow us