Before installing the widget, make sure you've connected your Shopify store to Revere via the Shopify integration.
Step 1: Get Your Widget Snippet
Your Revere widget snippet is unique to your account. It includes your Site ID and loads the review display and submission form. Replace YOUR_SITE_ID with the Site ID from Settings → General.
<!-- Revere Reviews Widget -->
<div id="revere-reviews" data-product-id=""></div>
<script src="https://widget.irevere.com/v1/revere.js"
data-site-id="YOUR_SITE_ID"
async>
</script>
Step 2: Add to Your Product Template
The snippet needs to go inside your Shopify theme's product template file. Here's how to find and edit it:
-
1
Open the Theme Editor
In your Shopify Admin, go to Online Store → Themes. Click Actions → Edit code on your active theme.
-
2
Find your product template
In the left sidebar, look for
templates/product.liquidorsections/product-template.liquiddepending on your theme version. Click it to open the editor. -
3
Paste the widget snippet
Find the location in the template where you want the reviews section to appear — typically after the product description. Paste the widget snippet there.
<!-- Product description --> <!-- Revere Reviews Widget --> <div id="revere-reviews" data-product-id=""></div> <script src="https://widget.irevere.com/v1/revere.js" data-site-id="YOUR_SITE_ID" async> </script> -
4
Save and preview
Click Save in the theme editor. Visit any product page on your store to verify the review widget loads correctly.
Step 3 (Optional): Add the Star Rating Badge
Add a compact star rating summary near the product title so shoppers can see the rating without scrolling down to the full review widget. Clicking the badge will scroll to the reviews section.
<!-- Revere Star Rating Badge -->
<div class="revere-rating-badge"
data-product-id=""
data-site-id="YOUR_SITE_ID">
</div>
Place this snippet directly after the product title in your template.
Testing the Installation
After saving, visit a product page on your live store. You should see:
- The reviews section (even if empty — it will show a prompt to be the first reviewer)
- An option for customers to write a review
- Any existing reviews for the product
If the widget doesn't appear, double-check that your Site ID is correct and that the snippet was saved in the right template file. Make sure you're viewing the page on the same domain registered in Revere's General Settings.
Troubleshooting
Widget doesn't load
Check that the script tag is present in the page source (right-click → View Page Source). If it's missing, the snippet wasn't saved correctly. Also confirm the Site ID matches exactly what's in your Revere General Settings.
Reviews show for wrong product
Confirm the data-product-id attribute is using the correct Liquid variable. For Shopify it should be .
Widget appears but looks unstyled
The widget uses your Brand Kit colors from Settings → General. If the colors look wrong, update the Brand Primary Color to match your store's design.