Skip to main content
Skip table of contents

All Reviews List Widget

This feature is currently in beta and free to all users. If you’d like to use this widget, please contact your customer success manager. Let us know what you think!

The All Reviews List widget can be used to display products across your entire product catalog or all reviews that match the criteria you program into the widget. This can improve brand-level SEO and provide your shoppers a better understanding of product quality.

This widget does not show rating only reviews.

Installing the All Reviews widget

Steps:

  1. Place the following code into the <head> of your page (if you are a TurnTo.eu customer, change turnto.com to turnto.eu in this snippet):

    CODE
    <script>
      var turnToConfig = {
        locale: "en_US",
        pageId: "all-reviews-page",
        allReviews: {
          // brands: ["brand1","brand2"],
          // maxDaysOld: 30,
          // ratings: [5,4],
          // skus: ["sku1","sku2"],
          // sort: "RECENT",
          // tags: ["tag1","tag2"],
          // vpc: "vpc"
        }
      };
    window.TurnToCmd=window.TurnToCmd||function(){(TurnToCmd.q=TurnToCmd.q||[]).push(arguments)};
    </script>
    <script src="https://widgets.turnto.com/v5/widgets/YOUR SITE KEY/js/turnto.js" async></script> 

    (warning) This turnToConfig snippet controls all installed Emplifi Ratings & Reviews widgets. It should be placed only once.

  2. Replace YOUR SITE KEY with the appropriate value.

  3. To display the All Reviews widget, add this div element. The widget dynamically inserts content into the element.

    CODE
    <div id="tt-all-reviews"></div>

Configuration options table

To narrow the set of reviews displayed in the widget, you can add any combinations of these filter options to the allReviews portion of the script:

To show all your reviews regardless of criteria, do not include any configuration options in the turnToConfig snippet.

Option

Description

brands

One or more brands. Formatted as an array.

maxDaysOld

The maximum days old a comment can be and still appear in the widget. A value of -1 means all comments should be included, regardless of age.

ratings

One or more star ratings on a 1-5 scale. Formatted as an array.

skus

One or more SKUs. Formatted as an array.

sort

Available sort options: HELPFUL, RECENT, OLDEST, H_RATED, L_RATED, and LOCAL. Formatted as a string. If a sort is specified, no sort drop-down will appear in the widget. If no sort is specified, the sort drop-down will appear.

tags

One or more applied tags. Uses the 3-4 letter ID code for each tag, not the tag name. Formatted as an array.

vpc

Name of the vpc as provided in the catalog feed. Formatted as a string.

If you use the ISCATEGORY field in the catalog feed to indicate “category items”, you can also use the SKU filter in this widget to display all reviews in a category.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.