Setting up Google Analytics

Google Analytics is a free analytics tool that helps you track visitors and conversions on your store. It allows you to gain further insight into your visitors, such as which pages they are visiting the most, what channels are driving the most traffic to your store, and which products are performing best.

With Google Analytics Real-Time reports, you can even see how many visitors are viewing your store at any given moment.  Real-Time reports allow you to see if a current promotion is driving more traffic to your store, the effects on store traffic from social media posts, traffic driven by content changes, and more, making Google Analytics virtually essential.  To set up Google Analytics, you will need to first create and verify your Google account.

There are a few ways to connect GA to your Ecomly store.

  1. GA built-in ecommerce plugin
  2. Via RankMath
  3. Via code snippet

Create a Google Account #

You need a Google account to use Google Analytics. If you already use Google products, such as Gmail or Ads, then you can use the same account for Google Analytics.

If you don’t already have an account for a Google product, then create a Google account. You don’t have to use the Gmail account for anything other than signing in and out of Google Analytics.

After you have a Google account, you need to create an Analytics account.

Enable Google Analytics #

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

Steps: #

  1. In a web browser, sign in Google Analytics.
  2. Click Admin.
  3. In the Account column, select the correct account.
  4. In the Property column, click Create Property.
  5. Enter a name for the property.
  6. Select Create a Universal Analytics property only.
  7. Click Next.
  8. Select the appropriate settings.
  9. Click Create.
  10. Copy the Universal Analytics property to your clipboard by highlighting it and pressing ctrl+C on PC or command+C on Mac.

By default, Google creates Google Analytics 4 properties, which are not compatible with Ecomly. Make sure that you create a Universal Analytics property.

Connecting GA with your store #

GA built-in ecommerce plugin #

Go to your store dashboard Store Settings > Settings > Integration > Google Analytics

RankMath #

Snippet code #

  1. Go to Settings > Insert Headers and Footers
  2. In the Head section, paste your Universal Analytics property and Save.

Turn on ecommerce tracking #

You can implement Google’s eCommerce tracking at two different degrees of detail:

  • Basic ecommerce tracking if you just want transaction and revenue data
  • Enhanced ecommerce tracking if you want additional information about visitor behavior

Turn on basic ecommerce tracking #


  1. In your Google Analytics account, click Admin.
  2. In the View column, click Ecommerce Settings.
  3. Click the Enable Ecommerce toggle to turn it from OFF to ON.

If you need more detailed tracking information, then you can turn on Enhanced Ecommerce tracking.

Turn on enhanced ecommerce tracking #


  1. From your Store admin, go to Store Settings > Settings > Integration > Google Analytics
  2. In the Google Analytics section, check Use Enhanced Ecommerce. If you’re using an older version of Google Analytics, then you might need to click Upgrade to the latest version before you can click the Use Enhanced Ecommerce checkbox.
  3. Click Save. This enables Ecomly to track and send all of your website data to Google Analytics.
  4. In your Google Analytics account, click Admin.
  5. In the View column, click Ecommerce Settings.
  6. Click the Enable Enhanced Ecommerce Reporting toggle to turn it from OFF to ON.
  7. Click Save.

What are your feelings
Updated on 28/09/2021

Submit your ticket

*By sending this message you agree with and understand our support policy