Tugus Docs

API Keys

Every website has its own API key for embedding the script.

You can find your website's API key under Settings → Websites → your website → Script. It is used in the data-key attribute of the tugus script and identifies which website incoming events belong to.

  • The key is website-bound — every website has its own.
  • It is not secret (it appears in your page's source code), but it should not be shared unnecessarily.
  • The Management API (e.g. analytics queries) uses separate API tokens — not the website key.

If you replace an API key, you must update the script on your website with the new key — otherwise no more events will arrive.