In this article
Enabling Google Analytics for your Store provides you with detailed statistics about Store events while the customer is shopping and during the checkout process. To take advantage of Google Analytics for your Store, you first have to enable Google Analytics in the site editor and then enable eCommerce tracking in your Google Analytics account.
If you do not already have a Google Analytics account, create an account for Universal Google Analytics or the newer Google Analytics 4. To learn about the differences between the two, see Universal Analytics versus Google Analytics 4 Data.
Enable Google Analytics for Your Site
To enable Google Analytics in the editor:
- In the side panel, click Settings, and then click the Google Analytics tab.
- Enter your Google Analytics code. If you are using Universal Analytics, the code will start with “UA”. If you are using Google Analytics 4, the code will start with “G”.
- Type Enter to confirm.
Once Google Analytics is enabled for your site it is automatically connected to your Store.