If you previously added the Google Customer Reviews script manually to your Shopify store or if another app has also added the code to your store, this can conflict with our app and prevent the survey opt-in from working correctly.
Why duplicate code causes problems
Google's Customer Reviews script is designed to load once per page. If multiple instances of the script are present, they can interfere with each other, causing the survey opt-in pop-up to fail silently.
Our app automatically injects the correct code for your store. Any additional copies of the Google Customer Reviews script need to be removed.
Where to check for duplicate code
Theme files
In some cases, the code may have been added directly to your theme.
In your Shopify admin, go to Online Store > Themes.
Click Actions > Edit code (or the three-dot menu > Edit code) on your active theme.
Check the following files for any Google Customer Reviews script references or references
apis.google.com/js/platform.js,gapi.surveyoptin,merchantwidgettheme.liquid(look near the closing</body>tag)Any snippet files that might reference Google's platform script
If you find any Google Customer Reviews-related code, remove it.
Click Save.
Other apps
If you have another app installed that also provides Google Customer Reviews functionality, it may be injecting conflicting code. Check your installed apps for any that mention Google Customer Reviews, Google seller ratings, or Google merchant badges. You may need to disable or uninstall the other app to avoid conflicts.
After removing duplicate code
Once you've removed any conflicting code, test the app again by following the steps in How to test if the app is working.
If you're unsure about what to remove or need help identifying conflicting code, please just let us know.
