We have written in the past about review use cases. Now to be able to leverage customer reviews on your website it’s mandatory to have them added one way or another. Let's take a look at the easiest to the most complex option of enabling review display on any website.
Using a plugin
Note that this is part of the work, the 2nd step is placing the “container: where you want your widget to be displayed on the page. Again this requires a bit of fiddling with your existing HTML and the page you changing. Again looking at our supported widget, it would be a div element like below:
Which can be placed on the bottom of your page after your products listings, resulting in the following:
Using review API
To use API for getting customer reviews involves changing the website's source code. It works in the following steps:
- Before HTML is rendered, website calls an API with a set of parameters to get reviews
- API responds with a list of reviews or empty results (depending on parameters)
- Website then process the response and renders the HTML with the given review data
Usually, this review display approach is used when the website is custom-built or other alternatives don’t provide enough flexibility in terms of when reviews are rendered, what design can be set, SEO impact, and so on. Here is a small example of how API request could look like using StackTome API:
Which returns something like below:
Comparing review display options
Now let's consider each approach, and answer the question of which one to use for your website? It mostly depends on your flexibility needs:
- Using plugin is the most easiest to setup but at the same time has most limitations, in terms of how reviews are displayed and which reviews are fetched.
- API approach requires developers to install it and make it work. This is most difficult to get right, but has no limitations in terms of how reviews are displayed, allow to handle corner cases when there’s no reviews and provides full control over the review receiving process.
Additional metrics to consider when displaying reviews
- Page speed - it’s now agreed that page load speed has a significant effect on your SEO rankings and conversions which means you don’t want a widget that slows down your website.
- SEO compatibility - here we want to make sure that widget is rendered with semantic tags which allows google to crawl your reviews and use it on search results to improve page rank. Also it’s recommended that reviews are rendered with initial page load, for google crawler to be able to see them.
At StackTome we designed our APIs and review widget with page speed in mind, which allows us to achieve latency, below 50 ms for 99% of requests, and below 40 ms for 90% of all requests.
The widget also has the same capabilities as API giving you full flexibility of displaying any reviews with fully customizable style that can be matched to any website design. If you would like to understand if this would be fitting for your businesses feel free to sign-up for a demo - or if you would to test drive it yourself you can try a 14-day free trial.