Add Google reviews to Shopify
Show your Google Business Profile reviews in a Shopify store with a Custom Liquid section.
Copy your embed code
- Sign in to GBP Reviews and open your Review dashboard.
- Under Review outputs, open the list or carousel widget you want to show. Create one with Create review output if you haven't yet.
- Make sure the widget is Published, then click Copy JavaScript embed.
The code looks like this, with your own token in place of YOUR_WIDGET_TOKEN:
<script src="https://gbpreviews.app/embed/v1.js" defer></script>
<gbp-reviews token="YOUR_WIDGET_TOKEN"></gbp-reviews>
Add a Custom Liquid section
- In Shopify admin, go to Online Store, then Themes, and click Customize.
- Open the page template where the reviews should appear, such as the home page.
- Click Add section and choose Custom Liquid.
- Paste your embed code into the Custom Liquid field, then click Save.
Things to check
- Custom Liquid is available in most current (Online Store 2.0) themes. In older themes, add the embed code to a page's HTML view or ask your theme developer.
- Because the code lives in the theme editor rather than the theme files, it survives theme updates.
If the reviews don't appear
- Check the live, published page. Many site editors don't run custom scripts while you're editing.
- Confirm the widget is still published in GBP Reviews and that your subscription or trial is active. Unavailable widgets render nothing rather than an error.
- If you rotated the widget's public URL, copy the new embed code. The old token stops working.
- Changes to a widget can take up to five minutes to show on your site.
- If your site or plan doesn't allow third-party scripts, use the Iframe compatibility option on the widget page instead. It needs no JavaScript on your site, but you set its height yourself.
Still stuck? Email [email protected] with the page address and we'll take a look.