Social Reviews

Our social reviews feature is a type of conversation which allows your users to share their feedback and rate each one of your articles by using the 5 star options. 

The article presents the number of reviews and average rating. 

Top

Basic Implementation

First make sure that Spot.IM’s basic embed code is implemented on the page, if not just copy the code below and don’t forget to change the SPOT_ID with your actual Spot ID.

<script type="text/javascript">!function(t,e,n){function a(t){var a=e.createElement("script");a.type="text/javascript",a.async=!1,a.src=("https:"===e.location.protocol?"https":"http")+":"+n,(t||e.body||e.head).appendChild(a)}function o(){var t=e.getElementsByTagName("script"),n=t[t.length-1];return n.parentNode} var p=o();t.spotId="SPOT_ID",t.parentElement=p,a(p)}(window.SPOTIM={},document,"//www.spot.im/launcher/bundle.js");</script>

Next step will be adding this DIV element to your website’s page where you want the conversation area to be or just add data-social-reviews=”true” attribute to your existing Spot.IM’s DIV element on the page.

<div class="spot-im-frame-inpage"
     data-social-reviews="true"
     data-post-id="POST_ID_GOES_HERE">
</div>

NOTE: In order to show a specific conversation, use a unique ID for each page. You may replace “POST_ID_GOES_HERE” with your own ID.

Top

Reviews Summary Widget

Embed this code where you’d like the widget to load on your page.

<script type="text/javascript"
    data-spot-id="SPOT_ID"
    data-post-id="POST_ID_GOES_HERE"
    src="https://www.spot.im/embed/widgets/stars-rating.js">
</script>

Remember to fill the data-spot-id and data-post-id attributes with your Spot ID and page’s Uniq ID.