There is a Google Analytics section in the Shopify Online Store - Preferences admin area. Mainly used to enter the text of a Google script with code to track store visit statistics.
But why do you need to enable the "Enhanced Commerce" checkbox? This feature allows you to track the behavior of visitors on the store site. However, it is not enough to enable this checkbox on the Shopify site, you also need to enable it on the site Google Analytics .
By default, the online store analytics tracking setting is disabled.
Enabling this function
And then enable advanced reporting