Home ยป How To Install Google Analytics On Shopify?

How to Install Google Analytics on Shopify?

One of the best practices before launching your Shopify store is to set up data tracking / visitor behavior measurement.

You can measure the behavior of your website visitors through Google Analytics (GA).

But first you’ll have to install and set up Google Analytics on your Shopify website.

Let’s go through the step-by-step Google Analytics installation/setup guide.

More than 2,000 Profitable Niche Ideas

More than 2000 Niche Ideas

Get the Complete List

Please make sure you enter a valid email
so you can receive your guide.

Sign Up or Login to Gmail or Google Account

To use Google Analytics, you must have a Google account or a Gmail account.

You can use your existing Gmail account to login to Google Analytics.

Or register a new Google account (https://account.google.com/).

Set Up Google Analytics.

Now go to Google Analytics (https://analytics.google.com/analytics/web/), and login with your Google account (or Gmail account).

Set up Google Analytics for your website in 3 steps.

Step 1: Account Setup.

Set up the account by entering a new account name.

Setup/Create Google Analytics Account

For example, the website using Google Analytics is going to be https://www.shopifynamegenerator.com/, so set the account name to “ShopifyNameGenerator.com“.

Under this account, you can create more than one Google Analytics Tracking ID.

Step 2: What Do You Want To Measure?

Select what you want to measure (e.g. Website, Apps). You have 3 choices to measure:

  • Web
  • Apps
  • Apps and Web
Measure Shopify Website with Google Analytics

For your Shopify website, select Web.

Step 3: Property Setup

You need to provide property details. i.e. A website that you’re measuring/tracking through Google Analytics is called a GA property.

Setup Google Analytics Property
  • Enter your website name.
  • Enter your website URL.
  • Select an industry category for your Shopify website.
  • Select a reporting time zone. For example, if you locate in Hong Kong, normally you’ll choose HK time.

Add Google Analytics Tracking Code to Shopify Website.

Get the tracking code from within your Google Analytics account. The latest tracking code is “Global Site Tag (gtag.js)”.

GA Tracking Code (Sample)

The last step is to add the Google Analytics Tracking Code (GATC) to your Shopify store.

Login to your Shopify website. Under the left side menu, go to:

  • Online Store
  • Preferences
Shopify - Preferences

Previously you have copied the GATC from your Google Analytics account.

Add GA Tracking Code to Shopify

Under the Google Analytics section in your Shopify account, paste the Google Analytics tracking code and save.

Verify Your Google Analytics Data.

You won’t see data showing up in your Google Analytics report right away. But once people started to visit your website, usually within 1-2 hours data will show up.

To get people to visit your website (for free), refer to this free traffic sources list.

21 Steps to Launch a Shopify Store!

Shopify Store Setup Checklist (21 Steps)

Get the Complete Checklist as a PDF Document

Please make sure you enter a valid email
so you can receive your guide.

Setup Shopify Store

Step-by-step guide to launch a Shopify store and start selling your products.

Profitable Niches

Step-by-step on how to choose a profitable niche. Build and sell your products.

Dropsurfing vs Dropshipping

Start a dropshipping business. Find profitable niche products and suppliers.

Copyright 2018-2019 ShopifyNameGenerator.com