Installed with one line

One line of code, no package and no configuration. The installation page tells you when it works.

  1. Start free

    Enter your email address and click the link we send you. Your organisation is created at your first login.

    Start free
  2. Add your site

    Enter your domain. Subdomains such as www, app and blog count automatically.

  3. Paste one line

    Copy your line into the <head> of your site. Your own site code is already filled in.

  4. See it work

    Open your site in another tab. The installation page checks every 3 seconds and shows “It works”, with the time and the page of the first visit.

<script defer src="https://nviv.io/js/NV-XXXXXXX.js"></script>
Your line looks like this, with your own site code instead of NV-XXXXXXX. If you use a Content Security Policy, allow https://nviv.io in script-src and connect-src.

Where the line goes

HTML
Paste the code into the <head> of every page, or into your shared layout.
WordPress
Settings → the "WPCode" plugin or your theme: paste the code under "Header".
Webflow
Site settings → Custom code → Head code.
Framer
Site settings → General → Custom code → Start of <head> tag.
Shopify
Online Store → Themes → Edit code → theme.liquid, just before </head>.
Next.js
In app/layout.tsx with <Script strategy="afterInteractive" /> from next/script.
Google Tag Manager
New tag → Custom HTML → paste the code → trigger "All Pages".

Or let your AI assistant do it

Work with Claude Code, Cursor, Lovable or Bolt? The installation page has a ready-made prompt with your line, the right place for each framework and how to check that it works.

Count what matters to you

Put data-event on a button or link to count clicks on it, with properties if you like. Or call nvivio.track() in your code. Make it a goal with one click.

Apps without reloading

Navigation via history.pushState counts as a pageview by itself, in React, Vue, Svelte and other single-page apps.

Installed twice by mistake?

If the script is on a page twice, through a theme and a plugin, only the first copy counts. No double pageviews.

See your own site in Nvivio today

Enter your email address, click the link, add your site and paste one line. That is all.

3 sites free · no credit card · log in with a link by email