Hi,
Please be advised that additional scripts have been deprecated and are no longer supported in Shopify (we’ve confirmed this with Shopify support). If you need to track customer events or customize your checkout, we highly recommend using app pixels or custom pixels for tracking. This method simplifies things for store owners, as it ensures that tracking is set up without having to dive into the code; simply enable the theme app, and the Pixel app can help you capture events.