Skip to content
Hazelsong

At a glance · 14 of 23

The rating badge layout

The mean of the ratings, to one decimal, with the stars beside it — that same average, rounded to the nearest whole star — and the number of ratings under it, in a bordered box small enough to sit beside something else. Testimonials with no rating are not counted in the average, because counting them would be inventing one. Where not one of them carries a rating it draws nothing whatever — no empty box, and none of the furniture that would otherwise sit under it: not your wall notice, and not the Hazelsong line the free plan carries, because a credit under an empty space is an advertisement standing where your customers' words were meant to be. Like the rating line, it reads its average and its count from all the testimonials the widget was given, so setting the widget to a minimum rating or a limit cannot publish the mean of the good ones as the mean of everything. Point the widget at one of your tags and it is the average of that tag, because a tag is what the widget was given.

Live — the widget script itself, not a picture of it.

Fit

Where it reads well

Best for
A header, a footer, or beside a price.
How many to show
Any, though an average of two is not an average.

Embed

Putting it on your page

One tag. The layout is a query string, so changing your mind later does not mean touching the page again.

The tag for this layout
<script src="https://hazelsong.com/widget/YOUR-SLUG.js?template=badge" async></script>
<div id="hazelsong-wall"></div>

Your own slug is in your dashboard, with the tag ready to copy. Works on WordPress, Shopify, Webflow, Squarespace, Framer, Wix, or a file you wrote by hand — see where the tag goes on each one. Add &theme=dark for a dark page, or &tag=onboarding to show only the testimonials you gave that label — the label is one you added in your dashboard, and the narrowing is done on the server, so the page never receives the rest.

Put the rating badge on your page

All 23 layouts are on every plan, on as many pages as you like.