Bona

Docs · For businesses

Adding the score badge and testimonial embeds

Both embeds are a small iframe you paste into your own site's HTML — no script tag, no account needed on the visitor's end. Everything inside renders as your business's own verified data live from Bona, so it stays current without you touching the embed code again.

The score badge

Shows your average rating, review count, and a link back to your public Bona profile — or "No reviews yet" if you haven't collected any. Here's Bona's own, live:

Use your profile's slug, the same one from Your public profile on your dashboard:

<iframe src="https://bonareviews.com/embeds/your-slug/score"
  width="340" height="90" style="border:0"></iframe>

Replace your-slug with your own profile slug. Add ?theme=dark to the end of the URL if your site has a dark background — the badge doesn't pick up your site's CSS, since it renders inside its own iframe, so it needs to be told explicitly.

There's no "copy embed code" button on your dashboard yet — for now, copy the snippet above and swap in your slug by hand.

Testimonial embeds

Featuring a single review works the same way — an iframe, live from Bona. Visit your own public profile while signed in and you'll see a Copy embed code link under each review; it copies a ready-to-paste snippet like:

<iframe src="https://bonareviews.com/embeds/reviews/a1b2c3..."
  width="360" height="280" style="border:0"></iframe>

That link only shows up for you, but the embed itself isn't access-controlled — anyone could technically embed your score badge too, since your profile slug is already public, right there in your profile's own URL. Each review on your public profile also carries its ID as a plain HTML id attribute (review-a1b2c3...), visible to anyone who looks at the page source — nothing about it is secret, just not spotlighted for visitors who don't need it.

← Back to docs