📊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, showcasing your business's strengths and fostering greater trust among your future clients.


  1. Import the script to your website entry HTML file as follows:

<script src="https://widget.trustblock.run/auditor-widget.min.js" defer />
  1. Start adding your wrapper anywhere you want on your website:



Your div must have the following attributes:

  • data-tb-auditor-widget

  • data-tb-auditor-slug: Your account's slug is contained within your Trustblock profile URL.

Optionally, you can add the following attributes with hexadecimal color values to customize the colors of the wrapper:

  • data-tb-text-color

  • data-tb-bg-color

  • data-tb-border-color

Live updates

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

Last updated