Checkout Extensibility & Checkout UI Extension issue to load js script instead of additional script

Topic summary

Merchants are struggling to implement Google Customer Reviews opt-in surveys after enabling Shopify’s Checkout Extensibility, which disables the “Additional Scripts” section where the functionality previously worked.

Core Issue:

  • The Google Customer Reviews feature requires loading a third-party JavaScript file
  • Checkout UI Extensions run in an iframe environment without direct DOM access (no window or document objects)
  • Third-party hosted scripts cannot be directly loaded into checkout extensions
  • Google Customer Reviews lacks an API, requiring their specific script for the opt-in survey to function

Attempted Solutions (Unsuccessful):

  • Loading external JS files in Checkout UI Extensions results in errors like “document.createElement is not a function”
  • JSX file implementations have also failed
  • Customer Events with Custom Pixels face the same iframe limitations

Shopify’s Position:

  • Staff recommend rebuilding functionality using Checkout UI Extensions APIs and visual components
  • Suggest using useCustomer and useEmail hooks for buyer identity tracking
  • Emphasize that direct DOM manipulation is no longer supported for security and stability

Current Status:
Multiple merchants report this as blocking their ability to use Google Customer Reviews with Checkout Extensibility. No working solution has been identified for integrating third-party scripts that lack API alternatives. The discussion remains open with requests for guidance on workarounds.

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

Hi Liam, my company is also trying to use the Google Customer Reviews opt-in survey in our checkout. I see that there is a nice tutorial on how to build a custom survey in checkout extensions. However, Google Customer Reviews does not have an API for the opt-in survey (as far as I can tell) so developers can’t implement their own survey UI and send the response along to Google. The only option is to include the 3rd party script from Google. As a result, merchants like my company can’t use the Google Customer Reviews opt-in survey in checkout extensibility.

8 Likes