How to move to Google Analytics 4 while still retaining Enhanced Ecommerce?

1 0 0

I can't just replace UA-XXXXXX code with G-XXXXX in Preferences because Shopify sees it as invalid. Considering that in July the old Universal Analytics will be gone, I need to make a switch to the new analytics. But I don't want to abandon Enhanced Ecommerce, because it would mean having to set it up manually.

Replies 2 (2)

Shopify Staff
1725 146 309

Hi, @mepatko!


Welcome to Shopify Community.


Thank you so much for reaching out and sharing your question with us. I answered a similar question to yours in regards to the Google Analytics 4 update, and I trust it will address your concerns. Please check out the related thread at this link


Please let me know if that answers your questions, or if I missed anything.


Warm regards,

Olivia | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Shopify Expert
1018 44 273

To understand everything you need to do a clean UA and GA4 setup, and how each work (or don't work) together, you refer to

Run Google Shopping ads? Get the free definitive guide to Google Shopping for Shopify (no optin required):