Integration guides

Add VisitTrack analytics to any platform

To add VisitTrack to your site, paste one script tag into the page's <head> — the guides below show exactly where that is on 29 platforms, from Next.js and Laravel to Webflow, Shopify and Google Tag Manager, plus how page navigation, custom events and revenue work on each.

Updated

The whole install, on every platform

Replace SITE_ID with the id shown when you add your site. The ~5 KB script records pageviews, client-side route changes, referrers and UTM campaigns, outbound clicks, scroll depth and Web Vitals — no cookies required in cookieless mode.

<head>
<script defer data-site="SITE_ID" src="https://visitrack.app/tracker.js"></script>

Frameworks

JavaScript frameworks and single-page apps. Client-side route changes are tracked automatically.

Website builders

No-code builders and hosted stores. Paste one tag into the platform's custom code setting.

CMS & blogs

Content management systems, newsletters and hosted docs.

Static site generators

Add the tag once to the base template or head partial.

Backend frameworks

Server-rendered apps: the base layout template, plus server-side events for signups and payments.

Hosting

Hosting platforms: preview deployments, headers and CSP, and where the tag really belongs.

Tag managers

Load VisitTrack without touching your site's code.

Integration FAQ

Does VisitTrack work on platforms that aren't listed here?

Yes. VisitTrack is one script tag, so it works on any site where you can add a script to the page's head — a custom template, a CMS's header setting or a tag manager. The install docs cover the generic setup.

Is there an npm package or plugin I need to install?

No. There's no npm package, no WordPress plugin and no Shopify app to install: every guide comes down to the same tag with your site id. Framework guides only differ in which file renders the page head.

Are single-page app route changes tracked?

Yes. The tracker listens to the History API (pushState, replaceState and popstate), so client-side navigation in Next.js, React Router, Vue Router, SvelteKit, Nuxt, Framer, Wix and similar is counted without extra code. Hash-based routing (/#/page) is the exception.

How big is the VisitTrack script?

About 5 KB gzipped. It loads with defer, never blocks rendering, and the session-replay recorder is only downloaded for sites that turn replays on and for the sampled share of visits.

Do I need a cookie banner?

Not in cookieless mode, which stores nothing on the visitor's device. The default standard mode keeps a first-party visitor id, which in the EU and UK generally requires consent. This is general information, not legal advice.

Related

See which channels actually bring paying customers

VisitTrack is cookie-free analytics with revenue attribution built in. One script tag, no consent banner, live in two minutes. 14 days free, no card required.

14-day free trial · No card required · Cookie-free · Cancel anytime

Or explore the live demo first →