Display reviews on your website

Our embeddable review widget is a simple way to promote your customers’ reviews into the content of your web site or web page. In this brief tutorial, you’ll learn how to use it.


Step 1

Get your account ID from the 5starRocket dashboard by going to: Settings > Account ID.

Step 2

Add the JavaScript embed code to your website, ideally right after the opening tag in the <body> of your HTML file.

<!-- Begin 5starRocket widget -->
(window, document, "script", "YOUR_ACCOUNT_ID");
<!-- End 5starRocket widget -->
Important: Replace "YOUR_ACCOUNT_ID" in the code above with your actual ID from Step 1.

Step 3

Place this code wherever you want the widget to appear on your page.

<div class="fsr-embed" data-widget="feed"></div>


Options can be passed via HTML5 data attributes by appending the option name to data-.

For example: data-per-page="5".

Setting Description Default
per-page The number of reviews to display at a time. Minimum is 1 and maximum is 50. 10
navigation How you want users to navigate through your reviews. Values: numeric, dotted, load_more or none. numeric
gravatar Use Gravatar to display the profile image (when available) of customers using the email address they provided. false