Guides
Metrics Widget
Trustblock’s metrics widget allows you to display your business metrics in a way that is easy to comprehend and engaging for your audience.
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:
2
Add the div
Add the widget div anywhere you want on your website:
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.