Documentation
Install
One script tag, served from Cloudflare's network. No build step, no SDK, and nothing to configure.
The tracker is one file, under 1.5KB gzipped, served from Cloudflare’s network. It loads deferred and sends events with sendBeacon, so nothing it does blocks navigation, and every failure inside it is swallowed rather than thrown into your page.
Pick the shape that matches your stack. All of them do the same thing — load the script with your tracking id attached.
<!-- Inqetra -->
<script defer src="https://collect.inqetra.com/inqetra.js" data-site="9f1c4b2e-7a30-4d51-b8c6-2e5a0d7f3c11"></script>Paste it just before the closing </head> tag.
One page each
If you would rather see a single stack without the tabs, each has its own page with the reasoning for where the snippet goes:
- HTML — Paste it just before the closing </head> tag.
- Next.js — next/script with afterInteractive keeps it off the critical path.
- React — For a Vite or CRA app, the plain tag in index.html works too.
- Server events — Needs an API key — create one under Events.
Checking that it works
Load a page on your site and open the realtime view. Active users counts the last five minutes, so it is the fastest confirmation available — your own visit should appear within seconds of the page loading.
Worth knowing
Single-page apps need nothing extra. The tracker patches pushState and replaceState and listens for popstate, so a client-side route change is recorded as a page view without you calling anything.
It also records how long a page was open, capped at thirty minutes, and sends that on visibilitychange — which is what makes bounce rate and time-on-page work without a second request per second.