Embedding testimonials


In order to show a testimonial carousel on your website, you'll need

  • RIVIO's init.min.js included in your page (possibly already included)
  • Testimonial placeholder inserted into the HTML

RIVIO's init.min.js is the soul of all embed features, and takes care of the embedded reviews, badges, etc. If you have RIVIO working already on your webshop, you don't need to embed it again.

Embedding init.min.js

<script type="text/javascript" src="https://embed.getrivio.com/init.min.js?api_key=[YOUR-API-KEY]">

For Shopify, Magento, Woocommerce plugin users:

You can trust that init.min.js is already properly included, so you can skip this part, and all you have to deal with is inserting the testimonials.

Inserting Testimonials

This one's fairly easy. Insert the following line wherever you want to see your testimonial carousel:

<div class="rivio-testimonials"></div>

You'll see that seller testimonials will appear on your site.

Testimonials will stretch to fill the available horizontal space within the container element they are inserted into (they behave as a full-width widget). Make sure the container is the right size in order to control the width of testimonials.

Is this article helpful for you?