How to Install Opinafy on Shopify
Add verified customer testimonials to your Shopify store in less than 5 minutes. Boost trust and conversions for your e-commerce.
Create your Opinafy project
- Sign up for Opinafy (it's free).
- Go to the Dashboard and click "New Project".
- Enter your Shopify store name and customize the form.
- Share the collection link with your customers or import existing reviews.
Get the embed code
- Inside your project, go to the "Widget" section.
- Customize the design: choose layout, colors, and typography that match your store.
- Copy the embed code.
The code will look like this:
<script src="https://opinafy.com/widget.js" data-project="YOUR_PROJECT_ID"></script>Add the code to your Shopify store
You have several options to insert the widget:
Option A: Edit theme (theme.liquid)
- Go to Online Store > Themes in your Shopify admin.
- Click "Actions" > "Edit code".
- Open the
theme.liquidfile. - Paste the Opinafy code just before the
</body>tag. - Click "Save".
<!-- Opinafy Testimonials Widget -->
<script src="https://opinafy.com/widget.js" data-project="YOUR_PROJECT_ID"></script>
</body>Note: This option displays testimonials on all pages of your store.
Option B: Custom section (recommended)
- Go to Online Store > Themes > Customize.
- Navigate to the page where you want testimonials.
- Click "Add section" and select "Custom HTML" or "Custom Liquid".
- Paste the Opinafy code in the HTML/Liquid field.
- Save your changes.
Option C: Specific page
To add testimonials to a single page only:
- Go to Online Store > Pages.
- Edit or create the desired page.
- In the editor, click "Show HTML" (the
</>icon). - Paste the Opinafy code.
- Save the page.
Verify it works
- Visit your Shopify store 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.
Shopify tip: If you use a caching app or CDN, you may need to wait a few minutes or clear the cache to see the widget for the first time.
Shopify Tips
- Place testimonials on product pages, right before the buy button, to maximize conversions.
- Use the "Carousel" layout on product pages to save vertical space.
- Use the "Grid" or "Wall" layout on the homepage for greater visual impact.
- The widget automatically adapts to your Shopify theme width (responsive).
- Enable the social proof popup to show FOMO-style notifications across your store.
Frequently Asked Questions
Does the widget affect my store speed?
No. The Opinafy script weighs less than 25 KB and loads asynchronously. It won't affect your Shopify Core Web Vitals.
Does it work with all Shopify themes?
Yes. The widget uses Shadow DOM to isolate its styles, ensuring compatibility with any Shopify theme without CSS conflicts.
Can I show different testimonials on different pages?
Yes. You can create multiple projects in Opinafy (one per product page, for example) and use different embed codes.
Is it compatible with Shopify Markets (multi-language)?
Yes. The widget automatically detects the browser language. You can create separate projects for each language if you prefer.
Do I need to install a Shopify app?
No. Opinafy works with a simple HTML script, no need to install additional apps in your store.
Ready to add testimonials to your Shopify store?
Create your free account and start showing social proof on your e-commerce in minutes.