For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add Google Reviews widget manually

Learn how to add the Google Reviews widget manually in Shopify. Follow simple steps to copy code, edit theme files, and display reviews anywhere on your site.

For Shopify 1.0 (vintage) themes that don't support the drag-and-drop Theme Editor, you can add the widget directly via code. There are three ways to do it, pick the one that fits your setup.

Is this for you? If your Shopify theme was built before Shopify 2.0 (released 2021), it won't have the App Blocks feature. In that case, you'll need to add the widget code manually. Modern Online Store 2.0 themes can add widgets directly via Online Store → Edit Theme without any code.

Step 1: Copy your widget code

  1. Select the widget you want to add

  2. Click Add code manually

  3. Click Copy Code

Click "Add code manually" in the Google reviews app
Copy manual code in the Google reviews app

Step 2: Choose your installation method

There are three ways to add the widget. Choose based on your technical comfort level and where you want the widget to appear:

Custom Liquid

Add a block in the Theme Editor. No file editing needed.

Custom HTML block

Add a content block and paste HTML. Good for page builders.

Edit Code

Paste directly into theme files. Most flexible, requires dev skills.

Custom Liquid

lightbulb

Recommended for most stores. Custom Liquid requires no developer skills and keeps your widget manageable through the visual editor. If Custom Liquid isn't available in your theme's section list, try the HTML Block method instead.

The easiest method, it works without touching any theme files. Available in most Shopify themes via the Theme Editor.

  1. Open Online Store → Edit Theme

  2. Go to the page where you want the widget

  3. Click Add section → Custom Liquid

  4. Paste your widget code into the Liquid field

  5. Click Save

Custom Liquid block in the Shopify Theme Editor
Add Google reviews widget using Custom Liquid

Custom HTML block

  1. Open the Theme Editor and go to the target page

  2. Add a Custom content block

  3. Add an HTML block inside the content section

  4. Paste your widget code into the HTML field

  5. Click Save

Custom content block with HTML field in the Theme Editor
Add Google reviews widget using HTML block

Edit code

  1. Go to Online Store → Themes → Edit Code

  2. Open the correct theme file

  3. Paste the widget code at the right location

  4. Click Save and verify on the storefront

Example: adding to theme.liquid

Find the <main> block in theme.liquid and paste your widget code right after the content placeholder:

theme.liquid: pasting widget code below content_for_layout

The widget will be displayed under the main content on every page.

Result — Google Reviews widget displayed under the main content on every page
Google reviews widget on the Homepage
comments

Need help adding the widget manually? We're here to help: support@reputon.com or live chat.

Last updated

Was this helpful?