# Add Google Reviews widget manually

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.

{% hint style="info" %}
**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.
{% endhint %}

### Step 1: Copy your widget code <a href="#copy-code" id="copy-code"></a>

1. Select the widget you want to add
2. Click `Add code manually`
3. Click `Copy Code`

<figure><img src="/files/oirbBkWE9CfZd5SEjYfS" alt=""><figcaption><p>Click "Add code manually" in the Google reviews app</p></figcaption></figure>

<figure><img src="/files/vmX87beu6j6sFWkWIgea" alt=""><figcaption><p>Copy manual code in the Google reviews app</p></figcaption></figure>

### Step 2: Choose your installation method <a href="#choose-method" id="choose-method"></a>

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

<table data-view="cards"><thead><tr><th align="center"></th></tr></thead><tbody><tr><td align="center"><p><strong>Custom Liquid</strong><br></p><p>Add a block in the Theme Editor. No file editing needed.</p></td></tr><tr><td align="center"><p><strong>Custom HTML block</strong></p><p><br>Add a content block and paste HTML. Good for page builders.</p></td></tr><tr><td align="center"><p><strong>Edit Code</strong><br></p><p>Paste directly into theme files. Most flexible, requires dev skills.</p></td></tr></tbody></table>

#### Custom Liquid

{% hint style="info" icon="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.
{% endhint %}

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`&#x20;
4. Paste your widget code into the Liquid field&#x20;
5. Click `Save`

<figure><img src="/files/3pL5QDxqYgoruRTzQa17" alt="Custom Liquid block in the Shopify Theme Editor"><figcaption><p>Add Google reviews widget using Custom Liquid</p></figcaption></figure>

#### **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`

<figure><img src="/files/6TnWrbrmDJxGxRJSLip1" alt="Custom content block with HTML field in the Theme Editor"><figcaption><p>Add Google reviews widget using HTML block</p></figcaption></figure>

#### Edit code

{% hint style="warning" %}
**Developer method.** Editing theme files directly can break your storefront if done incorrectly. We recommend working with your in-house developer or [contacting Reputon support](mailto:support@reputon.com) for assistance.
{% endhint %}

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

<figure><img src="/files/43EhKGWj7nRNnQmhhNjE" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
If you want to add the widget to specific pages, the following files are usually used:

1. **Homepage:** `index.liquid`
2. **Specific place on every page of your website:** `theme.liquid`
3. **Product pages:** `product.liquid`
4. **Bottom of every page:** `sections/footer.liquid`

Please note that file names may vary depending on your theme, such as `main-product.liquid` instead of `product.liquid`
{% endhint %}

#### Example: adding to theme.liquid

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

<figure><img src="/files/5QEHQaMMlHPYzd6fJnzM" alt="theme.liquid: pasting widget code below content_for_layout"><figcaption></figcaption></figure>

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

<figure><img src="/files/wXqkc7S4s1zZA5q8WnLl" alt="Result — Google Reviews widget displayed under the main content on every page"><figcaption><p>Google reviews widget on the Homepage</p></figcaption></figure>

{% hint style="info" icon="comments" %}
**Need help adding the widget manually? We're here to help:** [**support@reputon.com**](mailto:support@reputon.com) **or** [**live chat**](https://go.crisp.chat/chat/embed/?website_id=d24ef16e-6e05-49e9-bd59-a6f3bde0658a)**.**
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://reputon.gitbook.io/reputon-help/google-reviews-app/how-to/add-google-reviews-widget-manually.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
