Google Analytics 4 Installation on Shopify
Date published: 19 June 2023 | by Sybil Mayard
You must remove password protection from your Shopify store in order to allow Google Analytics to track events.
This article assumes that you have created a GA4 property already. If you haven't yet done so, please read my article, How Do I Upgrade to Google Analytics 4?
Firstly, find your Google Analytics measurement ID. This can be found from the Web stream details page in your Google Analytics account.
![Google Analytics web stream details](https://sybiltec.com/images/screenshots/google-analytics-web-stream-details.png)
From your Shopify admin, go to Online Store > Preferences.
![Shopify online store preferences](https://sybiltec.com/images/screenshots/shopify-online-store-preferences.png)
Scroll down to the Google Analytics section and click Manage pixel here.
![Shopify Google Analytics manage pixel here](https://sybiltec.com/images/screenshots/shopify-manage-pixel-here.png)
Click Add sales channel.
![Shopify add Google & YouTube sales channel](https://sybiltec.com/images/screenshots/shopify-add-google-and-youtube.png)
Select the Google account that owns your GA4 property.
![Choose an account to continue to Google Channel by Shopify](https://sybiltec.com/images/screenshots/shopify-google-channel.png)
Click Allow.
![Shopify trust Google Channel](https://sybiltec.com/images/screenshots/shopify-trust-google-channel.png)
In the Connect a Google Analytics property section, select the GA4 property from the dropdown and click the Connect button.
![Shopify connect a Google Analytics property](https://sybiltec.com/images/screenshots/shopify-connect-google-analytics-property.png)