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.
defermeans 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
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.
Frequently asked questions
My platform isn't listed — will tinyanalytics still work?
My platform isn't listed — will tinyanalytics still work?
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.Do I need to add the tracking script to every page?
Do I need to add the tracking script to every page?
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.
Will the tracking script slow down my site?
Will the tracking script slow down my site?
No. The tag uses
defer, so the browser runs it only after the HTML has parsed and it never blocks your page from rendering.Do I need extra setup for a React or Vue single-page app?
Do I need extra setup for a React or Vue single-page app?
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.
Related
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.