TugusDeveloper Docs
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>
AttributeTypeDefaultRequiredDescription
data-keystringRequiredProperty API key from the dashboard