Home / Help / Install Usage Learnings
Developers · Usage

Install Usage Learnings

Put a one-line snippet on your live product so QATested can sample consented visitor sessions.

Updated 2026-07-27

Usage samples real visitors on your site. It is separate from posting a Structured QA test.

  1. Sign in → open a project → Usage tab → Enable Usage.
  2. Copy the site key (qat_site_…). It is shown once on enable.
  3. Paste this before </body>, and only set consent: true after your cookie banner grants analytics consent:
<script>
  window.QAT_USAGE = {
    siteKey: "qat_site_PASTE_YOURS_HERE",
    consent: true,
    sampleRate: 0.2
  };
</script>
<script async src="https://app.qatested.io/qatested-usage.js"></script>
  1. Visit your site, then check Project → Usage for sessions.

On WordPress, use the QATested Usage plugin (Settings → QATested Usage) instead of editing the theme.

The first time you enable Usage on any project, your account gets 25 free credits in a shared wallet (once per account). Manage packs at app.qatested.io/dev/usage.

Related

Credits & shared walletNo sessions showing upWhat Usage is
QATested

© 2026 QATested LLC