TugusDeveloper Docs
Quickstart

Installation

Add the Tugus script to the <head> of your site.

Add the following snippet as early as possible to the <head> of your page. You find your API key in the dashboard under Properties → Script.

<!-- Tugus script — as early as possible in the <head> -->
<script
  src="https://collect.tugus.io/v1/tg.min.js"
  data-key="tg_YOUR_API_KEY"
  async
></script>

data-key is your property-specific API key. Every property in the dashboard has its own key. Never share it publicly — the key is not secret, but it is bound to your property.

For first-party tracking via a CNAME setup, the script is served from your own subdomain. Configure it in the dashboard under Properties → CNAME.

<!-- With CNAME: script served from your own domain -->
<script
  src="https://metrics.yourshop.com/v1/tg.min.js"
  data-key="tg_YOUR_API_KEY"
  async
></script>

On this page