Skip to main content
tinyanalytics works on any website — you add one small script tag to your pages, and you’re tracking. These integration guides show exactly where that tag goes in popular frameworks, CMSs, and site builders. If your platform isn’t listed, the universal method below works anywhere you can add HTML.

The universal method

Every install is the same idea: put the tinyanalytics snippet in your site’s <head> (or just before </body>) so it loads on every page.
Always copy your real snippet from Settings → Tracking in your dashboard — it has your exact site ID and any options you’ve toggled. Replace YOUR_SITE_ID above with your site’s numeric ID.
Three things make this work everywhere:
  • defer means the script never blocks your page from rendering.
  • One tag, every page — add it once in a shared layout, template, or header so it’s present sitewide.
  • Single-page apps just work. Route tracking is on by default, so client-side navigation in React, Vue, and similar frameworks is recorded automatically — see Configure the tracking script.

Pick your platform

Next.js

React

WordPress

Webflow

Shopify

Google Tag Manager

More platforms are being added. Until your exact one has a guide, the universal method above works on any site where you can edit the HTML or add a script.
Building a mobile app instead of a website? Use the React Native SDK — it reports into the same dashboard using a dedicated mobile-app site type.

After you install

However you add the tracking script, confirm it the same way: open your site, then check Realtime in your dashboard for your own visit.
Your install is working when your own visit appears in Realtime within a few seconds.
See Verify your setup for the full check, including what a healthy install looks like in your browser’s Network tab.

Frequently asked questions

Yes. Use the universal method above: paste the tracking script into your site’s <head> (or just before </body>) anywhere you can add HTML. The platform guides only differ in where that tag goes, not in what it does.
No — add it once in a shared layout, template, or header so it loads sitewide. Adding it per page works but is easy to get wrong when you add new pages later.
No. The tag uses defer, so the browser runs it only after the HTML has parsed and it never blocks your page from rendering.
No. Route tracking is on by default, so client-side navigation is recorded as a new pageview automatically. See Configure the tracking script if you want to change that.

Install the tracking script

The snippet and what it tracks out of the box.

Configure the tracking script

Every data-* option you can set.

Verify your setup

Confirm tracking works after you install.

Quickstart

Add a site and get your snippet.