Integration Guides

The qvctrs SDK uses a command queue pattern (like Google Analytics) that works with any async loading strategy. Copy the snippet, paste it, done.

Plug and Play

No timing hacks, no retry loops, no framework-specific workarounds needed. The same snippet works everywhere.

Choose Your Platform

How It Works

The qvctrs snippet consists of two parts:

  1. Shim script — Creates a lightweight queue that capturesinit() calls immediately, even before the SDK loads
  2. SDK script — Loads asynchronously and processes any queued commands when ready

This means you can call qvctrs.init() at any time — the command is either executed immediately (if SDK is loaded) or queued for later (if not).

Universal Snippet

This snippet works on any website:

<script>
window.qvctrs=window.qvctrs||{};window.qvctrs.q=window.qvctrs.q||[];
window.qvctrs.init=window.qvctrs.init||function(){window.qvctrs.q.push(['init'].concat(Array.prototype.slice.call(arguments)))};
window.qvctrs.init({siteId:'YOUR_SITE_ID'});
</script>
<script src="https://www.qvctrs.com/qvctrs-sdk-v2.js" async></script>

Replace YOUR_SITE_ID with your actual Site ID from the dashboard.