Skip to Content

How to setup Google Analytics for Shopify Store

What is Google Google Analytics? Google Analytics is a web analytics service offered by Google that tracks and measure website traffic and allows you to visualize report it in a very legible way.

What’s the goal? To enable Google Analytics tracking to Shopify website

Why does it matter? Google Analytics will allow you to get a deeper understanding of customers. It’s the most popular tool to measure and analyze all the data related to store traffic and visitor.

What’s the result? Google Analytics tracking code is added to Shopify store.

When do you do this? Ideally, as soon as you put store online, only once.

Any special requirements? You should have Shopify account ready.

️Who should do it? Owner of the store or the person in charge of analytics.

Where this is done? In Google Analytics and Shopify admin panel

How long will this take? about 10 minutes

Let’s get started, in 10-min you’ll be ready to measure shop traffic.

Content Summary

Environment setup
Create a Google Analytics Account
Set Up Google Analytics on Shopify Store
Check if Google Analytics is running correctly

Environment setup

  • We recommend that you use Google Chrome browser to navigate the web,
  • Access to Shopify Admin panel,
  • A Google Account (Gmail, G-Suite).

Create a Google Analytics Account

Step 1: Go to the Google Analytics website.

Step 2: You should sign in with Google Account or create one.

You should sign in with your Google Account or create one.

Step 3: Click on Set up for free and on the next page, you will start creating account.

Click on Set up for free and on the next page, you will start creating your account.

Step 4: You have to name account. We recommend you to put the name of website so you can easily recognize it.

You have to name your account. We recommend you to put the name of your website so you can easily recognize it.

Step 5: You should check all boxes in the Account Data Sharing Setting.

You should check all boxes in the Account Data Sharing Setting.

Step 6: Press on Next and choose Web, you are going to measure traffic on the website.

Press on Next and choose Web, you are going to measure traffic on the website.

Step 7: Press Next.

Press Next.

Step 8: Type website name.

Type your website name.

Step 9: Enter website URL and choose http:// or https:// in a dropdown menu.

Enter your website URL and choose http:// or https:// in a dropdown menu.

Check if you should choose HTTP:// or HTTPS://
Enter website URL in internet browser, then click just at the left side of the URL Adress Bar and check if it is secured or not. In some cases, there will be a red padlock (not secure) or a green one (secure).

Enter your website URL in your internet browser, then click just at the left side of the URL Adress Bar and check if it is secured or not. In some cases, there will be a red padlock (not secure) or a green one (secure).

Step 10: If it is secured choose https:// if not – http://.

If it is secured choose https:// if not - http://.

Step 11: If website is not HTTPS we highly recommend you make the switch ASAP as it’s an important SEO Ranking Factory, we’ll soon release an SOP to explain how to get a free SSL certificate (to move site to HTTPS) using Cloudflare.

Step 12: Select the Industry Category of website.

Select the Industry Category of your website.

Step 13: Choose the Reporting Time Zone, in most cases, it will be time zone, but if target audience is in another time zone, choose accordingly.

Choose the Reporting Time Zone, in most cases, it will be your time zone, but if your target audience is in another time zone, choose accordingly.

Step 14: Click Create.

Click Create.

Step 15: Read Google Analytics Terms of Service Agreement.

Read Google Analytics Terms of Service Agreement.

Step 16: Click I Accept.

Click I Accept.

Step 17: You should be able to see the Success message.

You should be able to see the Success message.

Step 18: You should see Google Analytics Admin Area. Here you can see Google Analytics Tracking ID. Copy it or write it down. There is also a code for website. In case you close it, you can revisit that page by clicking on the Tracking Code under the Tracking info section.

You should see your Google Analytics Admin Area. Here you can see your Google Analytics Tracking ID. Copy it or write it down. There is also a code for your website. In case you close it, you can revisit that page by clicking on the Tracking Code under the Tracking info section.

Set Up Google Analytics on Shopify Store

Enabling Ecommerce Settings in Google Analytics

Step 19: Log In to Google Analytics account.

Step 20: Enter Admin settings.

Enter Admin settings.

Step 21: Choose Ecommerce Settings.

Choose Ecommerce Settings.

Step 22: Turn on Enable Ecommerce and Enable Enhanced Ecommerce Reporting.

Turn on Enable Ecommerce and Enable Enhanced Ecommerce Reporting.

Step 23: Click on Save.

Click on Save.

Adding Google Analytics tracking code to Shopify Store

Step 24: Log In to Shopify Admin panel. (yourshopifystore.com/admin)

Step 25: From the left side menu choose Online Store.

From the left side menu choose Online Store.

Step 26: Select Preferences from the dropdown menu.

Select Preferences from the dropdown menu.

Step 27: You will find the Google Analytics section with a box for Google Analytics tracking code.

You will find the Google Analytics section with a box for your Google Analytics tracking code.

Step 28: If you didn’t copy tracking code review previous sections of this SOP and copy it.

Step 29: Paste Google Analytics tracking code into the box.

Paste your Google Analytics tracking code into the box.

Step 30: Click on Save.

Click on Save.

Step 31: The new option will appear in the Google Analytics section of the settings. Scroll up and check Use Enhanced Ecommerce.

The new option will appear in the Google Analytics section of the settings. Scroll up and check Use Enhanced Ecommerce.

Step 32: Click on Save again.

Click on Save.

Check if Google Analytics is running correctly

Step 33: Go to website and leave it open in one tab of browser.

Step 34: In another tab open Google Analytics website.

Step 35: In Google Analytics go to Home.

In Google Analytics go to Home.

Step 36: If everything is set right, you should see at least one active user right now (it is you).

If everything is set right, you should see at least one active user right now (it is you).

This is it! All is set and now you can track and analyze Shopify traffic.

    Ads Blocker Image Powered by Code Help Pro

    It looks like you are using an adblocker.

    Ads keep our content free. Please consider supporting us by allowing ads on pupuweb.com