# Shopify feedback widget for store QA

> Add a feedback widget to a Shopify theme for store QA: testers report problems with screenshots, browser details and console errors.

Source: https://commentpin.com/guides/add-feedback-widget-shopify
Last updated: 2026-12-02

## How do I add a feedback widget to Shopify?

A Shopify feedback widget is one script tag in your theme layout. It is useful for store QA before a launch or a theme change.

## Steps

1. In the dashboard, create a project. Add `your-store.myshopify.com` and your custom domain to **Allowed domains**. Copy the project key.
2. In Shopify admin, open **Online Store**, then **Themes**. On the theme you want, choose **Edit code**. Use a duplicate theme for testing.
3. Open `layout/theme.liquid` and paste this just before `</body>`:

```html
<script src="https://commentpin.com/widget.js" data-project="YOUR_PROJECT_KEY" defer></script>
```

4. Save, preview the theme and send a test report.

Use the [website QA checklist](/guides/website-qa-checklist) for what to test. See [website QA](/use-cases/qa-testing), the [install docs](/docs/install-the-widget), or the [WordPress guide](/guides/add-feedback-widget-wordpress).

## FAQ

### Where do I add the code in Shopify?

In your theme's layout/theme.liquid file, just before the closing body tag.

### Can I test on an unpublished theme?

Yes. Edit the code of a duplicate theme and use its preview. Add the preview domain to the allowed domains if it differs.

### Which domains do I allow?

Your your-store.myshopify.com domain and any custom domain the store uses.

### Does it work on checkout pages?

No. Shopify's theme layout applies to non-checkout pages, so the widget does not appear in checkout.

### Can I show it only during QA?

Yes. Add it to a duplicate theme used only for testing.
