Adding Google Analytics to the Shopify Store

7 min read Leave a comment
Adding Google Analytics to the Shopify Store

Understanding Google Analytics

The best web analytics tool available today is the most powerful and versatile technology that is trusted by over 50 million websites globally.
Any website may use Google Analytics to have a better knowledge of what visitors are doing on the site. This free app makes it simple to track and evaluate essential data.

GA provides access to a plethora of various reports. Some are straightforward, while others are a little more complicated. It is a free website analytics tool that assists web admins in analyzing site traffic. It’s one of several website measurement tools given by Google.

In brief, the platform provides you with a comprehensive view of your site’s performance. GA gathers a wide range of data and produces meaningful insights. These statistics might help you understand more about your website and its users.

Start your Shopify 14-day trial with FireApps

Did you know Shopify is now accounting for 20% of the e-commerce business.

Over 2200 merchants open their Shopify store everyday and 50% of them have a repeat purchase. Join them today!

Sign Up Now

Importance of Google Analytics

Your website serves as the foundation of your internet presence. Whether you run a personal blog, a small business website, or an international eCommerce corporation, your website is critical to your success.

You’ll have a better grasp of how effective your website is as a marketing tool if you use Google Analytics. You’ll discover useful information, such as which digital efforts are bringing the most visitors to your website.

Google Analytics automates all of the work for you, saving you the time it would take to enter the data into documents or spreadsheets.

Although we set up our clients to get a monthly report through email, you may examine your reports at any time, allowing you to apply methods for better website performance.

In Google Analytics, you may select from a variety of Google report templates or create your customized report. You may choose the dimensions and metrics to display and how they should be displayed.

How to Add Google Analytics to Shopify Store

Before you can begin collecting data about your shop, you must first create a Google account, sign up for analytics monitoring, and decide what data to track. The following steps below will provide you with information about the steps you need to follow to enable your Google Analytics account and add to your Shopify store.

Step 1 – Creating your Google Account

how to install google analytics on shopify
Step 1 – Create a Google Account

The first and the foremost thing if you are not sure if you have ever enabled Google Analytics is to create a new account on Google. Creating a Google account will help you set up your Google Analytics. If you have ever used any of the Google products, then you can simply log in with the same credentials and set up your Google Analytics Account

Step 2 – Ensure to enable Google Analytics Account

how to add google analytics to shopify
Step 2 – Enable Google Analytics from the Admin Panel

To enable setting up your Google Analytics account, the most critical step is to create a universal property to be added to your Shopify Store.

Follow these simple steps to create the universal property:

  • Sign in to your Google Analytics Account
  • Click on the Admin button
  • Go to the Account column, and click on the correct account
  • In the property section, click to add a new property
  • Enter the name for your property
  • Select Create a Universal Analytics property only
  • Click Next.
  • Set the setting best suitable for your store.
  • Click on the Create button.
  • Copy the Universal Analytics property by pressing ctrl + C on Windows or Command + C on Mac.
  • Open your Shopify admin in a new browser.
  • Then go to Online store > Preferences.
  • Paste your Universal Analytics property in the Google Analytics Account field.
  • Enable your Google Analytics account

Step 3: Enable your Ecommerce Tracking

google analytics for shopify
Step 3 – Enable Ecommerce from the Settings Section

Ecommerce Tracking is a Google Analytics tool that monitors shopping activity on your website. You may use it to track and analyze transaction data, revenue, items sold, and other information. Google Analytics eCommerce data will provide you with unique insights into Products having a high (or low) sales volume.

  • Click Admin on your Google Analytics account
  • Click e-commerce Settings in the View column.
  • Toggle the Enable Ecommerce toggle from OFF to ON.

Step 4 – Adding the Analytics and Ecommerce Tracking Code to Shopify Store

google analytics on shopify
Step 4 – Add Ecommerce Tracking Code

Once you have completed the above steps, the next part is to add Google Analytics to your Shopify Store.

  • Navigate to Online store > Preferences in your Shopify admin.
  • In the Google Analytics field, ensure that the box only has the text Enter your Google Analytics code here. Then go to the next step. Enter the code starting with UA to enable the Google Analytics
  • Then choose Themes.
  • Select Actions > Edit code from the drop-down menu.
  • Click {/} theme.liquid in the Layout section.
  • Look for any of the following Google Analytics tracking tags in the theme.liquid file: ga.js, dc.js, gtag.js, or analytics.js.
  • Ensure all the tags are enabled and function efficiently

Using Google Analytics to optimize the Shopify Store Performance

Adding your Google Analytics to your Shopify account is easy but it is not just limited to this. You must also optimize your Shopify store with the help of the data collected and analyzed with Google Analytics.

Google Analytics provides in-depth information about the store. This includes all the information about the customer coming to your online store including the country and the city it is coming from and how long are the customers staying on to your store. Not only this, but Google Analytics also provides detail information about the performance of your landing pages and which content or keyword is better performing

The quantity of information available might be daunting, so we recommend not going in too deep at first. Concentrate on a few key KPIs that are important to your business.

There’s an enormous quantity of data at your fingertips, yet accurate insights might get lost in the shuffle. When it comes to Shopify analytics reporting, sometimes less is more, so give yourself time to learn the ropes and, at the very least, start with the basics.

Even minor bits of data might reveal changes that could have a significant influence on your shop.

The goal of integrating Google Analytics into your Shopify store is to record as much of your users’ interaction with your site as possible. It is highly recommended to track the customer behavior to optimize your store with more efficacy.


The more you learn about your store’s data, and the better you grow at analyzing it, the more options open for you to dive deep into the ocean.
Running a Shopify store is like diving deep into the ocean. You go more profound once you jump in.

The main thing is to view this as a source of knowledge that you can utilize to enhance your shop and increase sales.

Google Analytics is a gold mine of data, but how can you use it to better your Shopify store? Isn’t that what you desire as an eCommerce shop owner?

Google Analytics, like Shopify’s analytics reports, allows you to see how many visitors are in your store in real-time and where they’ve come from. This is ideal if you’ve just begun a social media or email campaign and want to monitor predicted traffic increases.

To get more out of Google Analytics, it is recommended to continuously track your store performance to better optimize the pages with the customer’s engagement and improve the store quality to generate more sales.

Posts from FireApps’s blog you may also be interesting:

Leave a Reply

Notify of

Posts you might be interested


Tracking Key Metrics for Shopify Profitability: Maximizing Revenue, Reducing Costs, and Boosting Net Income with Truaprofit

When it comes to assessing the profitability of your Shopify business, tracking key metrics is essential. By...

2 min read


How to Optimize Your Shopify Landing Page to Increase Conversions

According to Hubspot, companies with 30+ landing pages drive 7x more conversions than those with less than...

7 min read


Minta Helps You Get in Front of More Customers With Ready-for-Social Videos that Convert.

I’ve said it once and I’ll say it again... I’ve said it once and I’ll say it again…YOU NEED VIDEOS TO...

3 min read