If you would like to use Google Analytics to manage your site's metrics, you can setup your store to share its' user data with Google. To begin, you will need to get your tracking ID from Google.

To generate your Google Analytics tracking ID:

Sign in to your Google Analytics account > Click "Admin" in the bottom left-hand corner of the page.

Google Analytics

Select an account from the menu in the ACCOUNT column (or create a new account).

Select a property from the menu in the PROPERTY column (or create a new property).

Under PROPERTY, click Tracking Info > Tracking Code. Your tracking ID is displayed at the top of the page.

Google Analytics

From here, you will need to add the code you've copied to your Shopify store.

Sign into your Shopify Admin > Online Store > Preferences. 

Paste your copied code from Google in the section for Google Analytics, and save changes.

Google Analytics

Check the box for "enhanced ecommerce" and then save changes again.

Google Analytics

Need more help with this step? Check out Shopify's help docs for Google Analytics by clicking here.