Docs
Installation

Install via script tag

The script tag install is the recommended path for most sites. It works with React, Vue, Angular, Svelte, plain HTML, WordPress, Shopify, and any other site that lets you edit the page HTML.

The tag

<script
  src="https://api.nevision.app/recorder.js?siteId=YOUR_SITE_ID"
  async>
</script>

Where to put it

Inside the <head>, before any other analytics scripts. The recorder loads asynchronously and won't block page render.

Async vs defer

The recorder script is async by default. You don't need to add async or defer attributes — they're set automatically.

Custom configuration

Optional data attributes:

  • data-disable-replay="true" — only enable error/RUM, no session replay.
  • data-disable-rum="true" — only enable replay/errors, no Web Vitals.
  • data-environment="staging" — tag sessions with an environment.
  • data-release="v2.4.1" — tag sessions with a release/version.