Install docs

Add KrystalView to your site.

Choose the install path that fits your stack: script tag, npm package, or WordPress plugin ZIP. Your console snippet is the source of truth for the site key.

KrystalView analytics dashboard

Script tag

Use the snippet from your KrystalView console. Place it before the closing body tag on pages you want to track.

<script src="https://krystalview.com/t/kv.js" defer></script>
<script>
window.addEventListener("load", function () {
  window.KUAnalytics.init({
    collectorBaseUrl: "https://krystalview.com/api",
    siteKey: "YOUR_SITE_KEY",
    consentRequired: false,
    maskAllInputs: true,
    sampleRate: 1
  });
});
</script>

npm

Use the npm package when you want to initialize the tracker from your application bundle.

npm install krystalview-tracker

WordPress

Use the direct-download plugin ZIP when you want WordPress admin installation without editing templates.

Plugins -> Add New -> Upload Plugin
Settings -> KrystalView
Paste your site key

Verify

Open the site

Visit a tracked page in a normal browser session.

Check sessions

Open the KrystalView console and confirm that a session appears for the site.

Inspect evidence

Confirm replay, device, page path, and any campaign parameters are captured as expected.