Enabling Google Analytics for your StoreFront provides you with detailed statistics about StoreFront events while the customer is shopping and during the checkout process. To take advantage of Google Analytics for your StoreFront, 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 Google Analytics 4.
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. The code will start with “G”.
- Type Enter to confirm.
Once Google Analytics is enabled for your site it is automatically connected to your StoreFront.