Loading…

Integration

Consent & deferred load

Defer the hosted loader until your CMP allows analytics.

Tracuto does not replace your CMP. Load the tracker only after consent allows analytics processing.

Defer script injection

  • Do not put the static script in HTML if consent is required first.
  • Inject once when the user accepts—guard against double injection.
  • npm bundles can call tracker.start() after consent instead of a script tag.
javascript
(function () { var loaded = false; function loadTracuto() { if (loaded) return; loaded = true; var s = document.createElement('script'); s.src = 'https://YOUR_LOADER_HOST/client/YOUR_PROJECT_ID.js'; s.async = true; document.head.appendChild(s); } // Call loadTracuto() from your CMP when consent allows analytics. })();

Dashboard self-tracking

The Tracuto dashboard loads analytics only after cookie consent where configured—mirror that pattern on your site.

We ask before enabling optional analytics (including our own Tracuto script) or marketing cookies. Essential cookies are always used to run the service securely. See our Privacy Policy.