Script API
Configuration
Configure the Tugus script via data-* attributes or window config.
The script is configured through the data-* attribute on the script tag or
via window.__TH_CONFIG__.
<script
src="https://collect.tugus.io/v1/tg.min.js"
data-key="tg_YOUR_API_KEY"
async
></script>| Attribute | Type | Default | Required | Description |
|---|---|---|---|---|
data-key | string | — | Required | Property API key from the dashboard |