As an auditor, you can enhance transparency and foster trust in your business by utilizing Trustblock’s metrics widget.

By integrating it 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.

Setup

1

Add the script

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

<head>
  ...
  <script src="https://widget.trustblock.run/auditor-widget.min.js" defer />
</head>
2

Add the div

Add the widget div anywhere you want on your website:

<body>
  ...
  <div
      data-tb-auditor-widget
      data-tb-auditor-slug="your-auditor-slug"
      data-tb-text-color="#000000"
      data-tb-bg-color="#FFFFFF"
      data-tb-accent-color="#444444"
  />
</body>

Parameters

  • data-tb-auditor-widget is a required parameter that allows the widget to be initialized.
  • data-tb-auditor-slug is a required parameter that specifies the slug of the auditor you want to display the metrics for.
  • data-tb-text-color is an optional parameter that specifies the color of the text in the widget and accepts a hex color code.
  • data-tb-bg-color is an optional parameter that specifies the background color of the widget and accepts a hex color code.
  • data-tb-accent-color is an optional parameter that specifies the accent color of the widget and accepts a hex color code.

Give it a try on our playground