Embed Guide
Add Trustwall to your website
Embed your testimonial wall anywhere with a single snippet. No build step, no dependencies — works on every platform.
How it works
Create a Wall in your dashboard
Log in to Trustwall, go to your dashboard, and create a new Wall. Give it a name and approve the reviews you want to feature.
Copy your embed snippet
Open the Wall settings and click "Get Embed Code". You'll get a small script tag and a div placeholder — copy both.
Paste it into your page
Paste the snippet anywhere inside your page's HTML where you want the testimonial widget to appear. The widget loads asynchronously and won't affect page speed.
You're live
Save and publish your page. Your Trustwall widget will render automatically and always reflect your latest approved reviews.
Platform instructions
Step-by-step instructions for the most popular platforms.
HTML / Static Sites
- Open your HTML file and locate the <body> section.
- Paste the Trustwall script tag just before the closing </body> tag.
- Paste the <div> placeholder wherever you want the widget to appear.
- Save the file and reload your browser.
<!-- Paste inside <body> where you want the widget -->
<div data-trustwall-wall-id="YOUR_WALL_ID"></div>
<!-- Paste before </body> -->
<script
src="https://trustwall.app/embed.js"
async
></script>Next.js
- Open the page or layout file where you want the widget.
- Import Script from "next/script" for optimal loading.
- Add the Script component with strategy="lazyOnload".
- Add the div placeholder in your JSX.
import Script from "next/script";
export default function Page() {
return (
<>
<div data-trustwall-wall-id="YOUR_WALL_ID" />
<Script
src="https://trustwall.app/embed.js"
strategy="lazyOnload"
/>
</>
);
}WordPress
- In your WordPress admin, go to Appearance → Theme Editor (or use a plugin like "Insert Headers and Footers").
- Paste the script tag into the Footer Scripts section.
- Use the Custom HTML block in the Gutenberg editor to place the div placeholder.
- Update and preview your page.
<!-- In a Custom HTML block (Gutenberg) -->
<div data-trustwall-wall-id="YOUR_WALL_ID"></div>
<!-- In footer scripts (Insert Headers & Footers plugin) -->
<script
src="https://trustwall.app/embed.js"
async
></script>Webflow
- Open your Webflow project and select the page you want to edit.
- Go to Page Settings → Custom Code → "Before </body> tag".
- Paste the script tag there.
- Add an Embed element to your canvas and paste the <div> placeholder inside it.
<!-- In Page Settings → Before </body> tag -->
<script
src="https://trustwall.app/embed.js"
async
></script>
<!-- In an Embed element on your canvas -->
<div data-trustwall-wall-id="YOUR_WALL_ID"></div>Shopify
- From your Shopify admin, go to Online Store → Themes → Edit Code.
- Open theme.liquid and paste the script tag before </body>.
- Open the section or template file where you want the widget and add the div placeholder.
- Save and preview your storefront.
<!-- In theme.liquid before </body> -->
<script
src="https://trustwall.app/embed.js"
async
></script>
<!-- In your section/template file -->
<div data-trustwall-wall-id="YOUR_WALL_ID"></div>Framer
- Open your Framer project.
- Go to Site Settings → General → "Custom Code" and add the script tag to the End of <body>.
- On the canvas, add a Code Component or Embed block and paste the div placeholder.
- Publish your site.
<!-- In Site Settings → End of <body> -->
<script
src="https://trustwall.app/embed.js"
async
></script>
<!-- In an Embed/Code block on the canvas -->
<div data-trustwall-wall-id="YOUR_WALL_ID"></div>Still have questions?
Check out our FAQ or reach out on X @ditincodes.