← All integrations

SiteWhisper on Shopify

Theme embed for Online Store 2.0, live on every storefront page.

About 3 minutes.

  1. 1

    In Shopify Admin, go to Online Store → Themes → … → Edit code.

  2. 2

    Open layout/theme.liquid.

  3. 3

    Paste this immediately before the closing </body> tag, replacing YOUR_API_KEY with your dashboard key.

    layout/theme.liquid
    {% comment %}
      SiteWhisper — paste before </body> in layout/theme.liquid
      Replace YOUR_API_KEY with the key from https://sitewhisper.online/dashboard
    {% endcomment %}
    <script src="https://sitewhisper.online/widget.js" data-key="YOUR_API_KEY" async></script>
  4. 4

    Save. The widget appears across your storefront.

Good to know

  • Checkout pages are locked down by Shopify — a theme script does not run there. Use checkout UI extensions if you need chat during checkout.
  • There is no Shopify App Store listing yet; this is a theme embed.

Need your API key? It is in the dashboard under each site's embed block. Widget attributes, crawling, and the HTTP API are covered in the documentation.