Spy on Your Competitors - Extended Free Trial!  GO!
How to Add Google Analytics to Shopify?

How to Add Google Analytics to Shopify?

Last modified: December 2, 2021

FAQ
Shopify Trial

If you’re here reading this article it probably means you’ve already started your own Shopify eCommerce site but are looking for a way to improve and help you to grow your business. Well then you’ve come to the right place. Some of you may be very familiar with what Google Analytics is and how it works, while others out there may have only heard of it and not know anything about it so let’s start by just letting you know what this tool from Google is. Google Analytics is a web analytics service that can track and report website traffic. That sounds great, right? Seems like it could be very useful to use to enhance business so let’s talk more about it and how you can incorporate it into your Shopify site.

Recommended: Top 10 Shopify Analytics Apps

# Name Image
Shopify
Shopify
More Info
1
Conversific ‑ Store Analytics
Conversific ‑ Store Analytics
More Info
2
SEO Manager
SEO Manager
More Info
3
SEO Booster ‑ SEO Marketing
SEO Booster ‑ SEO Marketing
More Info
4
Segments Analytics
Segments Analytics
More Info
5
Yandex.Metrica Analytics
Yandex.Metrica Analytics
More Info
6
Google Analytics by Littledata
Google Analytics by Littledata
More Info
7
OrderMetrics Profit & LTV
OrderMetrics Profit & LTV
More Info
8
SEO Site Audit, Benchmark Hero
SEO Site Audit, Benchmark Hero
More Info
9
Lifetimely: Profit & LTV
Lifetimely: Profit & LTV
More Info
10
Glew: Multichannel Analytics
Glew: Multichannel Analytics
More Info
Show More
Click here for more information about Top 10 Shopify Analytics Apps.

How Can Google Analytics Help Improve Your Business?

 

Google Analytics is incredibly important for shopping sites. With it you can do various things like measure the results of campaigns and compare data to previous information. It allows you to monitor data from PPC, SEO, Social Media, Direct traffic, etc. By being able to monitor all of these platforms simultaneously you can see what in your advertising is working and what is not. This will help save you time, money and resources and efficiently improve your advertising efforts which should increase sales on your site.

 

How to Add Google Analytics to Your Shopify eCommerce?

First things first, you have to have sign into your Google Analytics account and if you do not have one then just create one, it’s simple and easy. Once you’ve done this here are the steps you need to take to add Google Analytics to your Shopify site:

  • Click on Analytics in the drop-down menu
  • Choose website and fill in the form
  • Insert your primary domain under Website URL
  • Click Get Tracking ID which will show you a tracking ID code snippet
(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

ga(‘create’, ‘UA-########-#’, ‘yourwebsite.com’);
ga(‘send’, ‘pageview’);
  • Copy the entire code and then go to your Shopify admin panel
  • Go to Online Store and choose Preferences where you will paste the code into the Google Analytics field

And that’s it, you did it!

After reading this article we hope you feel confident in being able to add Google Analytics to your Shopify site. Remember, it’s a free tool offered by Google and will only help to improve your business.

Recap:
Read More
Got Something To Say?

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

Free Trial