Removing old (deprecated) Google Analytics script

In the past, before Shopify blocked apps from running on the Checkout page, we provided our own Google Analytics script, which would render some Vitals apps on the Checkout page.

If you still have the script added to your Google Analytics section in Shopify, you need to have it removed as it is no longer used and can cause syncing issues for caching with the rest of the app. You can do so by going to your Shopify Admin Preferences.

As explained above, the script was deprecated since no apps can run on the Checkout page anymore. Therefore you can't use the script anymore. Even if you have it still saved in your Google Analytics section, it offers no functionality BUT can actually affect the rest of the VITALS apps. Therefore it needs to be removed.

The snippet for the script can be found below, so it is easier for you to have it removed:

try{/* VITALS Checkout Script */ var bundlePixels = document.createElement('script'); bundlePixels.async = true; bundlePixels.src = " https://appsolve.io/assets/js/bundle.js?shop=_________w.myshopify.com"; document.getElementsByTagName('head')[0].appendChild(bundlePixels);}catch(e){};

Is this resource helpful? Thanks for the feedback There was a problem submitting your feedback. Please try again later.