How do we install Google Merhcant Center Opt-In Script now that "checkout scripts" is Deprecated?

Topic summary

Shopify’s deprecation of “Order status page additional scripts” has broken the ability to implement Google Merchant Center’s opt-in survey script, which is essential for collecting product reviews that appear in Google Shopping.

The Core Problem:

  • The Google opt-in script requires loading an external JavaScript file (platform.js?onload=renderOptIn) on the order confirmation page
  • Shopify’s new custom pixels system operates in a sandboxed environment that blocks external script loading and interface elements like modals
  • Checkout UI extensions that could potentially work are limited to Shopify Plus stores

Attempted Solutions (All Unsuccessful):

  • Custom pixels: Cannot load external scripts or render the required popup interface
  • Post-purchase pages: Same sandbox limitations apply
  • Various workarounds using document.head.appendChild(): Fail due to sandbox restrictions

Current Workarounds (With Major Limitations):

  • Third-party apps like “Easy Google Customer Reviews” ($20/month) display static promos instead of popups, resulting in significantly lower engagement
  • Email/SMS flows directing customers to external pages with query string variables (not ideal)
  • Alternative review platforms (Trustpilot, Judge.me) with additional costs

Status: Unresolved after nearly a year. Multiple users are calling for updates to the official Google-Shopify app to include this functionality by default. No native solution exists for non-Plus merchants.

Summarized with AI on October 24. AI used: claude-sonnet-4-5-20250929.

agreed shopify that this is a massive oversight
I’ve been ignoring this one but now we need to deal with it
I’m raising with the Google team as we have some contacts there - it should be in the official sales channel
Just highlights one of the many, many issues with checkout / account changes which aren’t seemingly built by people who have deep working experience with what merchants actually need.

there is an app in the app store which creates a basic in-page promo for it [email removed] $20 a month
you could make your own using the free shopify checkout blocks app but linking with the variables would be the issue (if you could pass variables as query strings then you can have it load on a page say without forcing users to login )

however engagement on both those will be close to 0
we will move to using another option (e.g. paid service whose aggregated reviews count towards this)

if you wanted to push the google free one
you could setup a flow / automation to send email / sms to customer
and have them land on a page where the opt in renders as a popup - you’ll just need to pass the variables needed in query strings which isn’t ideal

1 Like

Hey, do we have a solution for this now? or is it still unresolved?

There’s no option with the current checkout to implement this.
What you can do is use an app like this - https://apps.shopify.com/easy-google-customer-reviews
engagement is a lot, lot lower as a static promo and not a popup but some people do engage and all you need is a trickle of reviews to keep the top rated store status
or you shift to using one of the other approved apps for reviews like Trustpilot, Judge me etc but these all come with additional costs

I know of one site that submits the form for customers on their behalf (so not in checkout - manually done by staff) but that’s against Google’s TOS - advised not to do this

1 Like

Almost a year later now and no solution. :neutral_face:

Has anyone reported this directly to Shopify and Google Merchant support?

The problem up to today still persists that Shopify’s Checkout Extensions do not allow to load external scripts. Thus, the only way is to show a button on the thank you page which redirects out of the checkout, to a normal shopify proxy page.
The app Google Customer Reviews | Dash - Google Customer Reviews for Shopify | Checkout Extensibility | Shopify App Store does that job. With a customizable proxy page.