Add testimonials to Squarespace
To add testimonials to Squarespace, put a Code Block on the page, set it to HTML and paste two lines of code. Vouchjar gives you that code plus a link that collects testimonials from your customers, so new ones appear on your site when you approve them, without editing the page again.
<div data-vouchjar="your-wall" data-theme="auto"></div>
<script src="https://vouchjar.com/embed.js" async></script> Example quotes. Want to try the collection form as well? Use the homepage demo.
What you’re adding
A Vouchjar wall has two parts:
- A collection link. You send it to clients or customers. They write a few lines, pick a star rating and can add a photo. Nothing appears anywhere until you approve it.
- An embed. One
<div>and one<script>tag that show your approved testimonials on your Squarespace page as a grid, a carousel or a single quote.
You don’t retype quotes into the page builder each time a client sends a kind email. Approve it in your dashboard and it shows up on the live site within a minute.
Add it to Squarespace in five steps
1. Create a free wall
Sign up with your email (no password, no card) and name your wall after your site. The free plan covers one wall and five approved testimonials.
2. Collect and approve testimonials
Copy your collection link from the dashboard and send it to a few happy customers. Praise you already have on X or LinkedIn can go in through Import: paste the post and Vouchjar pulls out the name and text for you to check.
Every submission lands in your dashboard switched off. Tick Show on wall for the ones you’d like on your site.
3. Add a Code Block
In Squarespace, open the page where the testimonials belong and click Edit. In the section you want, click Add block and choose Code.
4. Paste the embed code
Click the pencil icon on the new block. Set Mode to HTML, leave Display Source off, and paste the embed code from your dashboard. It looks like this, with your wall’s ID instead of your-wall:
<div data-vouchjar="your-wall"></div>
<script src="https://vouchjar.com/embed.js" async></script>
Stretch the block to the full width of the section if you’re using the grid.
5. Save and check the live page
Save the page, then open the live URL in a private window. Squarespace often hides Code Block output while you’re logged in, so a blank block in the editor doesn’t mean anything is wrong.
Which layout suits which Squarespace page
Add data-layout to the <div> to switch layouts:
| Layout | Add this | Good for |
|---|---|---|
| Grid | nothing (it’s the default) | A dedicated Testimonials or Kind Words page |
| Carousel | data-layout="carousel" | A home page section where height matters |
| Single | data-layout="single" | Next to a booking button, a pricing table or a contact form |
Using the same wall on several pages? Add a Code Block with the same code to each one. On a dark section, add data-theme="dark" to the <div>.
Squarespace’s own testimonial blocks or a widget?
Squarespace can show testimonials natively with a Quote block or one of its pre-designed testimonial sections. Here’s an honest comparison:
| Squarespace Quote block / sections | Vouchjar widget | |
|---|---|---|
| Styling | Matches your template fonts and colours | Neutral cards, light or dark |
| Getting testimonials in | You type each one in yourself | Customers submit through a link, or you paste from X/LinkedIn |
| Approval step | None: whatever you type is live | Built in: nothing shows until you approve it |
| Star ratings | Not built in | Yes, from the customer’s submission |
| Plan needed | Any plan | Core or above (scripts in Code Blocks) |
| Cost | Included | Free for 5 testimonials, then $8/month |
If you have a handful of quotes that rarely change, the Quote block looks the most at home on your template, so use it. If the hard part is asking for testimonials and keeping the page current, a collection link plus a widget saves the copy-and-paste.
Plan check
Squarespace only runs JavaScript in Code Blocks on the Core, Plus and Advanced plans, or the legacy Business and Commerce plans. On Basic the block saves but the wall never appears. You can still set up your wall and start collecting testimonials, then add the Code Block when you upgrade.
Building on Carrd instead? See the Carrd testimonials guide.
FAQ
- Why does my Code Block show nothing on Squarespace?
- Three usual reasons. Code Blocks often don't render while you're logged in to the editor, so check the live page in a private window. JavaScript only runs on the Core, Plus or Advanced plans (or the legacy Business and Commerce plans). And Code Blocks may not run on pages inside an index page or with Ajax loading turned on.
- Can I add testimonials on the Squarespace Basic plan?
- Not with a script. On Basic, the Code Block saves but the script silently doesn't run. You can still use Squarespace's own Quote block or testimonial sections and type each testimonial in yourself, or collect testimonials in Vouchjar now and embed them once you upgrade.
- Do I need Code Injection in the site settings?
- No. The whole embed fits in one Code Block on the page where the testimonials go. Code Injection is only useful if you want the same wall on every page through the footer.
- Can I style the widget to match my Squarespace template?
- Not in detail yet. You get clean, neutral cards in three layouts, plus a dark version if you add data-theme="dark" to the div. The widget renders in a shadow root, so your template's styles can't break it and it can't break your page.
- Will it slow down my Squarespace site?
- The script is under 3 KB compressed, loads with async so it never blocks the page, and fetches the testimonials after everything else. The testimonial data is cached for a minute at a time.
Free for 5 testimonials. No card. Pro is $8/month.
Short version: Squarespace install steps in the docs.
Updated October 15, 2026