Trustblock
Search
⌃K
Comment on page
📊

Metrics widget

As an auditor, you can enhance transparency and foster trust in your business by utilizing Trustblock's metrics widget. By integrating this advanced tool into your website, you'll be able to present your business metrics in a way that is easy to comprehend and engaging for your audience. This dynamic approach to data display will transform your raw numbers into compelling narratives, thereby showcasing your business's strengths and fostering greater trust among your future clients.

Setup

  1. 1.
    Import the script to your website entry HTML file as follows:
<script src="https://widget.trustblock.run/auditor-wrapper.js" defer />
  1. 2.
    Start adding your wrapper anywhere you want on your website:
<div
data-tb-auditor-wrapper
data-tb-auditor="YOUR_SLUG"
/>

Parameters

Your div must have the following attributes:
  • data-tb-auditor-wrapper
  • data-tb-auditor: your account's slug is contained within your Trustblock's profile URL.
Optionally, you can add the following attributes with hexadecimal color values to customize the colors of the wrapper:
  • data-tb-colortext
  • data-tb-colorbackground
  • data-tb-colorborder

Try it out!

Live updates

The metrics widget reacts to live value changes. For example, this can be useful if your website has different themes that users can switch between.