All posts
June 8, 20263 min readguideswidget

How to Embed Your Testimonials on Any Website

Glowmark gives you a small embed snippet that drops your approved testimonials straight onto any website — no developer needed. This guide shows you how to find it, how it decides where to render, and exactly where to paste it on the most common platforms.

Step 1 — Copy your embed code

  1. Log in to your Glowmark dashboard.
  2. Go to Widget in the sidebar.
  3. Scroll to the Embed code box.
  4. Click copy.

Your snippet looks like this (with your own unique ID):

<!-- Testimonials appear here -->
<div id="glowmark-widget"></div>
<!-- This can go anywhere on the page (e.g. footer) -->
<script src="https://www.glowmarkhq.com/widget.js?id=your-business-id"></script>

It has two parts, and understanding them is the key to placing the widget exactly where you want it.

How placement actually works

The script renders your testimonials into a container, and it picks that container in a specific order:

  1. If a <div id="glowmark-widget"></div> exists on the page, the widget renders inside it — no matter where the <script> tag is. This is the reliable way to control placement.
  2. If that div is missing, the widget falls back to wherever the <script> tag sits.

So the recommended approach is to use both parts:

  • Put the <div> exactly where you want the testimonials to show.
  • Put the <script> anywhere on the page — your footer, or even the <head>. Its position doesn't matter as long as the div is present.

Heads up: write the container as a full pair — <div id="glowmark-widget"></div> — not a self-closing <div id="glowmark-widget" />. HTML doesn't support self-closing <div> tags, and some page builders will break the layout around it.

Step 2 — Paste it on your platform

Plain HTML site

Put the <div> where you want testimonials, and the <script> anywhere (commonly just before </body>):

<section>
  <h2>What our customers say</h2>
  <div id="glowmark-widget"></div>
</section>

<!-- before </body> -->
<script src="https://www.glowmarkhq.com/widget.js?id=your-business-id"></script>

WordPress

  1. Edit the page or post.
  2. Add a Custom HTML block where you want the testimonials.
  3. Paste the full snippet (div + script) and update.

Webflow

  1. Drag an Embed element onto the canvas where you want testimonials.
  2. Paste the full snippet.
  3. Save and publish.

Squarespace

  1. Edit the page.
  2. Add a Code block where you want testimonials.
  3. Paste the full snippet and save.

Shopify

  1. Online Store → Themes → Edit code, or add a Custom Liquid section.
  2. Paste the full snippet into the template/section where you want it.
  3. Save.

Wix

  1. Add → Embed Code → Embed HTML.
  2. Paste the full snippet.
  3. Position the element and publish.

Framer

  1. Add an Embed component.
  2. Paste the full snippet.
  3. Publish.

React / Next.js

Render the container where you want it, and load the script:

<div id="glowmark-widget" />
<script src="https://www.glowmarkhq.com/widget.js?id=your-business-id" async />

No website yet? Use your collection link

Right below the embed code in your dashboard, you'll find your Collection link — a hosted page you can share directly (email signature, social bio, DMs) to collect and display testimonials without touching any code.

Customize the look — no re-pasting needed

The embed reflects whatever you set on the Widget page: layout (grid, carousel, list), colors, card style, and light/dark theme. Change those settings anytime and your live site updates automatically. You never need to update the embed code.

Troubleshooting

  • Nothing shows up? You need at least one approved testimonial. Approve some from your Queue, then refresh.
  • It's rendering in the wrong place? Check that your <div id="glowmark-widget"></div> is where you want it — that div always wins over the script's position.
  • Changed your design but don't see it? Hard-refresh the page (Ctrl/Cmd + Shift + R) to clear the cache.

Don't have testimonials to embed yet? Glowmark sends the requests, collects the responses, and gets them ready to publish — automatically.

Collect testimonials on autopilot

Glowmark sends the requests, captures the responses, and publishes them to your site — automatically.

Start free