Why do you need Google Analytics for Shopify Store?
Think about a t-shirt store of yours. You might have a goal to sell more t-shirts. Using digital analytics, the store could collect and analyze data from their online advertising campaigns to see which are most effective and expand those marketing efforts.
For example, you could analyze geographical sales data to understand if people in certain places buy a lot of shirts and then run additional advertising campaigns in those areas. You can also use analytics to understand how users progress through their online shopping cart. If you notice that users have trouble with a particular step on your website, you can make changes to the site to resolve the problem.
So, Your businesses can use digital analytics to understand customers’ online purchasing behavior and better market your products and services.
Getting Started with google analytics?
If you don't already have a Google Analytics account, you can easily create one for free on the Google Analytics website!
To create a Google Analytics account (For First Time User):
- Click here to go to Google Analytics. Note: If you have a Google account, and are not signed in, click Sign in. If you do not have a Google account, click Create an account.
- Once you have signed in to your Google account, click Access Google Analytics.
- Click Sign up.
- Fill in your Account Name, Website Name, Website URL, and select an Industry Category and Reporting Time Zone.
-
Under Data Sharing Options, check the boxes next to the options that you want.
-
Click Get Tracking ID.
-
From the Google Analytics Terms of Service Agreement that opens, click I Accept.
-
Place the Tracking ID to your theme code.
For Store Owners who already have Google Analytics Account
1. Sign in to your Analytics account.
2. Click Admin.
3. Select an account from the menu in the ACCOUNT column.
4. First, you need to create a property in Google Analytics. Create one Analytics property for each website you want to collect data for. Creating a property generates a Google Analytics ID, which you'll use in your gtag.js installation.
5. Select a property from the menu in the PROPERTY column.
6. Under PROPERTY, click Tracking Info > Tracking Code. Your Google Analytics ID is displayed at the top of the page. Copy the entire code in the text box.
Placing the Google Analytics Tracking code in Shopify
1. From your Shopify admin, go to **Online store** > Preference
2. In the Google Analytic section, make sure that the box has only the tex Paste your code from Google her, and is otherwise empty:
If you see this, then continue to the next step. If you see a code beginning withUA-
instead, then you have Google Analytics enabled already and can skip this step.
3. Click Themes:
4. Click Actions > Edit code:
5. In the Layout section, click {/} theme.liquid:
In the theme.liquid file, look for any of the following Google Analytics tracking tags: ga.js
, dc.js
, gtag.js
, or analytics.js
. If you see any of these tags in your theme.liquid file, then you have Google Analytics enabled already and can skip.
6. Paste the entire contents of the code copied from text box from google analytics, immediately after the <head>
tag.
One More Small Step: Turning on basic e-commerce tracking
On Google Analytics
-
In your Google Analytics account, click Admin:
-
In the View menu, click Ecommerce Settings:
-
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.
On Shopify
-
Open your Shopify admin.
-
Go to **Online store** > Preferences.
-
In the Google Analytics section, click the Use Enhanced E-commerce checkbox: 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 E-commerce checkbox:
-
Click Save.
Leave a comment