Analytics

Free, privacy-first web analytics with Astrina

Drop one tiny script on your site and get a live, GDPR-friendly analytics dashboard — no consent banner, no cross-site cookies. Free to start.

AstrinaEditorial July 12, 2026 3 min read Updated August 28, 2026 EN RU UK

You want to know who visits your site without drowning it in cookie banners or slowing it down. Astrina gives you a live, privacy-first analytics dashboard from a single script that weighs under 2.5 KB.

One tiny script, nothing else to wire up

Astrina's counter is one async script you drop in before your closing </body> tag. It loads out of the critical path, so it stays out of the way of your page. It works behind Cloudflare out of the box, so you don't need to change your setup to start collecting data.

The whole install is a single line:

<script async src="https://astrina.io/a.js" data-site="YOUR_ID"></script>

Privacy-first by default

Astrina is built so you don't need a consent banner for our tracking. We set a first-party visitor id in localStorage or a cookie named _astr, and we use it for one thing only: de-duplicating visitors so your counts are accurate. We don't set any cross-site cookies of our own, which keeps the whole thing GDPR-friendly.

  • A first-party _astr id, used only to tell repeat visitors apart
  • No cross-site cookies from Astrina
  • No consent banner required for our tracking

What the live dashboard shows

Once the script is live, your dashboard fills in real time. You get the numbers you actually check, plus an online now live count so you can watch traffic as it happens.

  • Visitors, page views, and sessions
  • An "online now" live count of who's on the site right now
  • Bounce rate and average visit duration
  • Traffic channels: search, direct, social, and referral
  • Geography by country
  • Devices, OS, and browser breakdowns
  • Entry and exit pages
  • UTM campaign tracking
  • Day-over-day trend arrows on your key metrics

There's also a recent-visits list, so you can look at individual visits rather than just totals. Each row shows the entry and exit page, the source, the device, browser, OS, and language for that visit.

How visits, bots, and retention work

A visit groups one visitor's page views together, and splits into a new visit after 30 minutes of inactivity. That keeps sessions meaningful instead of lumping a whole day into one number. Astrina also filters bots automatically, so the traffic you see is closer to real people.

Your raw data is kept so you can dig into individual visits, and how long depends on your plan:

  • Free: 33 days of raw data
  • Pro: 365 days of raw data
  • Business: 730 days of raw data

Once raw data ages out, it's kept as daily aggregates, so your long-term trends stay intact.

Plans and limits

The counter is the core product, and it's free. You upgrade only when you need longer retention or more sites.

  • Free — up to 3 tracked sites, 33-day raw retention
  • Pro — €19 per 30 days, up to 25 tracked sites, 365-day raw retention
  • Business — €59 per 30 days, unlimited tracked sites, 730-day raw retention

How to get started

  1. Add your site in Astrina to get your YOUR_ID.
  2. Paste the script just before the closing </body> tag, replacing YOUR_ID with your site's id:
    <script async src="https://astrina.io/a.js" data-site="YOUR_ID"></script>
  3. Publish, open your page, and watch the "online now" count and your first visits land on the dashboard.

That's the whole setup — one line, no banner, and a live dashboard that respects your visitors. Start free and upgrade when you're ready.

Try it on your site

The core counter is free. Add your site and explore every feature.

← All articles

What this page answers

  • analytics
  • analytics guide
  • Free, privacy-first web analytics with Astrina
  • Free, privacy-first web analytics with Astrina guide
  • Free, privacy-first web analytics with Astrina explained
  • Free, privacy-first web analytics with Astrina tutorial
  • getting started with Free, privacy-first web analytics with Astrina
  • Free, privacy-first web analytics with Astrina best practices
  • Free, privacy-first web analytics with Astrina step by step
  • what is Free, privacy-first web analytics with Astrina
  • Free, privacy-first web analytics with Astrina for beginners
  • Free, privacy-first web analytics with Astrina checklist
  • Free, privacy-first web analytics with Astrina examples
  • why Free, privacy-first web analytics with Astrina matters