Skip to main content
All CollectionsShopify 'Verified reviews' app
How to find your code in EmbedSocial: Verified Reviews app for Shopify
How to find your code in EmbedSocial: Verified Reviews app for Shopify

Steps on how to find and embed the code in Shopify, and display the reviews widget.

Laze Trajkov avatar
Written by Laze Trajkov
Updated over 4 years ago

Once you publish the widget, it will automatically appear in your product-template. liquid file.

If you would like to display it on some other Theme, here is how you can find the code:

1. Go to your Shopify Admin and follow Themes > Actions > Edit Code.

2. Go to ‘Sections‘ and open the file product-template.liquid.

3. Search for 'EmbedSocial' and you will see the code, which is in this format:

<div class="embedsocial-product-reviews" data-shop="{{ shop.permanent_domain }}" data-product="{{ product.id }}" data-handle="{{ product.handle }}"></div><script>(function(d, s, id){var js; if (d.getElementById(id)) {return;} js = d.createElement(s); js.id = id; js.src = "https://embedsocial.com/cdn/ri_shopify.js"; d.getElementsByTagName("head")[0].appendChild(js);}(document, "script", "EmbedSocialShopifyReviewsScript"));</script></div>

4. Copy this code to display the star rating as well.

{% include 'embedreviews-product-rating' %}

Once you have the codes, please embed them in your Theme.

When finished, click the top right ‘Save’ button.

If you have any questions or need additional assistance, please feel free to reach out and chat with us or send us an email at support@embedsocial.com

We're happy to help.

Did this answer your question?