I have got a few emails from Google Analytics team. They recommend we use gtag instead of analytics.js for e-commerce tracking. But we can only put user-id in Online => Preferences. Actually,it supports adding enhanced script, but Trekkie lib always loads analytics.js instead of gtag.js.
Does anyone know how to force to use gtag.js for GA? Thanks!
You first have to decide whether you want to move away from Shopify's native Google Analytics integration. If you do, you'll either need a custom analytics setup or use a third-party solution like LittleData.
Yes, I'd love if Shopify upgraded as well. I have heard merchants request it and wanted it myself ever since its release, which might be about 3 years ago. An optional upgrade would have to be implemented given it renders past hits useless like event tracking. I have been able to get some information about Google Analytics in Shopify from a member managing Shopify's internal GA several years ago, but have no bites about gtag.
Make the shift from discounts to donations, and witness your business not only thrive fina...By Holly Dec 4, 2023
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023
You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...By Skye Nov 8, 2023