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.