You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Measuring Shopify store performance with Shopify Analytics, Google
5
5
Analytics, and Plausible Analytics
6
6
slug: shopify-analytics
7
-
date: 2025-04-21T11:22:37.990Z
7
+
date: 2025-04-21T12:02:17.753Z
8
8
author: hricha-shandily
9
9
image: /uploads/shopify-analytics.png
10
10
image-alt: Shopify analytics
@@ -219,15 +219,15 @@ These are manual methods and typically require a lot of time and effort to ensur
219
219
220
220
**Google Tag Manager (GTM)**:
221
221
222
-
To implement GA4 using GTM, you'll first need to create a GTM account and container. Once set up, add the GTM container code to your Shopify theme. This involves inserting the GTM <script> code into the <head> section and the <noscript> code immediately after the opening <body> tag of your theme.liquid file.
222
+
To implement GA4 using GTM, you'll first need to create a GTM account and container. Once set up, add the GTM container code to your Shopify theme. This involves inserting the GTM script code into the *head* section and the *noscript* code immediately after the opening body tag of your theme.liquid file.
223
223
224
224
Then, you can add a GA4 configuration tag within GTM using your Measurement ID. This setup allows for more granular control over event tracking, enabling you to configure events like page views, add-to-cart actions, and purchases.
225
225
226
226
Don’t forget to also test your setup using GTM's Preview mode and GA4's DebugView to ensure data is being collected correctly.
227
227
228
228
**Global Site Tag (gtag.js)**:
229
229
230
-
Alternatively, you can implement GA4 directly using the Global Site Tag (gtag.js). This involves adding the GA4 gtag.js snippet to your Shopify theme's <head> section.
230
+
Alternatively, you can implement GA4 directly using the Global Site Tag (gtag.js). This involves adding the GA4 gtag.js snippet to your Shopify theme's head section.
231
231
232
232
For tracking purchases, add the gtag.js code to the "Additional Scripts" section in your Shopify checkout settings, which allows you to capture transaction data on the order confirmation page.
233
233
@@ -322,7 +322,7 @@ You can easily add the Plausible snippet to Shopify by navigating to Sales Chann
322
322
323
323
If you also want to track e-commerce metrics in Plausible like checkouts and revenue, you can easily follow the instructions [here](https://plausible.io/docs/shopify-integration).
324
324
325
-
### How to use Plausible in tandem with Shopify?
325
+
### How to use Plausible in tandem with Shopify?
326
326
327
327
You can do comprehensive tracking with Plausible plus Shopify, or even if you choose to use only Plausible. You can track e-commerce events with Plausible independently.
0 commit comments