Skip to main content
Install tinyanalytics in about five minutes: add a site, paste one tracking script into your HTML, and confirm your first visit in Realtime.

Prerequisites

  • A tinyanalytics account. Sign up or sign in at dash.tinyanalytics.io.
  • Access to your website’s HTML — specifically the ability to add a tag to the <head>.

Add your site and install the script

1

Add your website

In the dashboard, select Add website and enter your site’s domain (for example, example.com).tinyanalytics creates the site and opens its dashboard. Until the first visit arrives, that dashboard shows a setup panel with your tracking script and a grid of platform guides.
2

Copy your tracking script

Copy the tracking script shown on the setup panel. It looks like this, with your own site ID already filled in:
Always copy the tracking script from your dashboard rather than typing it by hand. The dashboard fills in the correct script URL and your numeric data-site-id for you.
3

Add the tracking script to your site

Paste the tracking script into your site’s HTML, just before the closing </head> tag, on every page you want to measure.defer tells the browser to run the script after the HTML has parsed, so it never blocks your page from loading. If you use a site builder or a framework, see the integration guides for where to paste it.
4

Deploy your site

Publish the change so the tracking script is live on your public pages.
5

See your first visit

Open your site in a browser, then return to its tinyanalytics dashboard. Within a few seconds your visit appears, and the setup panel is replaced by your live dashboard.

Verify it’s working

Your setup is correct when a visit to your own site appears in the dashboard within a few seconds.
If nothing appears after a minute, work through these three causes in order:
  • Confirm the tracking script is in the <head> of a published page, not a draft or preview.
  • Confirm the data-site-id matches the site you’re viewing in the dashboard.
  • Disable ad blockers for the test, or set up a first-party proxy so tracking isn’t blocked.
For a full checklist, see verify your setup.

Frequently asked questions

Add it once in a shared layout, template, or header so it loads on every page. tinyanalytics has step-by-step guides for Next.js, React, WordPress, Webflow, Shopify, and more — see the integration guides.
Yes, with no extra setup. Route tracking is on by default, so client-side navigation in React, Vue, and similar frameworks is recorded as a new pageview automatically. See track single-page apps to change this.
A few seconds. The tracking script sends the event as soon as the page loads, and the dashboard reflects it in near real time. If a minute passes with nothing, use the three checks above.

Next steps

Configure the script

Control SPA routing, auto-capture, path masking, and more with data-* attributes.

Track custom events

Measure signups, purchases, and other actions beyond pageviews.

Identify users

Attach your own user IDs to follow people across devices.

How tinyanalytics works

Understand cookieless identity and where your data goes.