How to Install Opinafy on Squarespace
Add verified customer testimonials to your Squarespace site in less than 5 minutes. Perfectly integrated with your design.
Create your Opinafy project
- Sign up for Opinafy (it's free).
- Go to the Dashboard and click "New Project".
- Enter your website name and customize the collection form.
- Share the collection link with your customers or import existing testimonials.
Get the embed code
- Inside your project, go to the "Widget" section.
- Customize the design: choose layout (carousel, grid, wall...), colors, and typography.
- Copy the embed code shown below the preview.
The code will look like this:
<script src="https://opinafy.com/widget.js" data-project="YOUR_PROJECT_ID"></script>Replace YOUR_PROJECT_ID with your actual project ID.
Add the code to Squarespace
You have two options to insert the widget on your Squarespace site:
Option A: Code Block (recommended)
- Open the Squarespace Editor and navigate to the page where you want testimonials.
- Click "Edit" on the page.
- Click on an insertion point and select "Code Block".
- Paste the Opinafy code into the block.
- Turn off the "Display Source" option.
- Click "Apply" and then "Save".
Note: Code Blocks are only available on Squarespace Business plans and above.
Option B: Code Injection
If you want testimonials on every page:
- Go to Settings > Advanced > Code Injection.
- Paste the Opinafy code in the "Footer" section.
- Click "Save".
<!-- Opinafy Testimonials Widget -->
<div id="opinafy-widget" class="opinafy-widget" data-project="YOUR_PROJECT_ID"></div>
<script src="https://opinafy.com/widget.js" data-project="YOUR_PROJECT_ID"></script>With this option you need to add a div container where you want the widget to appear.
Option C: Per-page injection
To add testimonials to a specific page only:
- Open the desired page in the Squarespace editor.
- Go to Page Settings (gear icon).
- Select the "Advanced" tab.
- Paste the Opinafy code in the "Page Header Code Injection" field.
- Save your changes.
Verify it works
- Visit your Squarespace site and navigate to the page where you inserted the widget.
- It should automatically load and display your approved testimonials.
- If you don't see anything, verify you have testimonials with "Approved" status in your dashboard.
- Check that the project ID is correct.
Tip: Squarespace may take a few minutes to reflect changes. If you don't see the widget immediately, wait a few minutes and reload the page.
Squarespace Tips
- The widget integrates perfectly with Squarespace's minimalist aesthetic.
- Use the "Wall" layout for a masonry-style visual effect that blends well with Squarespace designs.
- Use the "Dark" theme if your site has a dark background.
- The widget is fully responsive and adapts to all Squarespace breakpoints.
- Works with all Squarespace templates, including version 7.1.
Frequently Asked Questions
Does the widget affect my Squarespace site speed?
No. The Opinafy script weighs less than 25 KB and loads asynchronously. It won't affect your site performance.
Does it work with all Squarespace templates?
Yes. The widget uses Shadow DOM to isolate its styles, ensuring compatibility with any Squarespace template without CSS conflicts.
Do I need a Business plan on Squarespace?
To use Code Blocks, yes. However, you can use general Code Injection (available on all paid plans) as an alternative.
Can I customize the widget design?
Absolutely. From the Opinafy dashboard you can change colors, typography, layout, borders, and more to perfectly match your Squarespace site.
Do I need to update the code when I add new testimonials?
No. The widget updates automatically. When you approve a new testimonial, it appears on your site without touching any code.
Ready to add testimonials to your Squarespace site?
Create your free account and start showing social proof on your site in minutes.