FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

One tag. No cookies. No consent banner needed. The REST API export UMAMI_URL = \"https://your-umami.com/api\" export UMAMI_TOKEN = \"your-api-token\" Get Website Stats curl -s \" $UMAMI_URL /websites/WEBSITE_ID/stats?startAt=1711584000000&endAt=1711670400000\" \\ -H \"Authorization: Bearer $UMAMI_TOKEN \" Response: { \"pageviews\" : { \"value\" : 1234 , \"prev\" : 1100 }, \"visitors\" : { \"value\" : 890 , \"prev\" : 800 }, \"visits\" : { \"value\" : 950 , \"prev\" : 850 }, \"bounces\" : { \"value\" : 312 , \"prev\" : 290 }, \"tota","image":"https://media2.dev.to/dynamic/image/width=1200,height=627,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fauy3yv2bdqgmno7gp9il.png","datePublished":"2026-03-28T16:00:17","author":{"@type":"Person","name":"Alex Spinov"},"publisher":{"@type":"Organization","name":"Dev.to"},"mainEntityOfPage":{"@type":"WebPage","@id":"https://flarestart.com/article/umami-has-a-free-api-privacy-first-web-analytics-that-replaces-google-analytics-20260328"}}
Back to articles
Umami Has a Free API: Privacy-First Web Analytics That Replaces Google Analytics
How-ToTools

Umami Has a Free API: Privacy-First Web Analytics That Replaces Google Analytics

via Dev.toAlex Spinov1h ago

What is Umami? Umami is a privacy-focused, open-source web analytics tool. No cookies, no tracking, GDPR-compliant by default. It's the ethical alternative to Google Analytics — self-hosted with a clean API. Quick Setup git clone https://github.com/umami-software/umami cd umami npm install npx prisma migrate deploy npm run build npm start Or use Docker: docker compose up -d Add to Your Website <script async src= "https://your-umami.com/script.js" data-website-id= "YOUR_WEBSITE_ID" ></script> One tag. No cookies. No consent banner needed. The REST API export UMAMI_URL = "https://your-umami.com/api" export UMAMI_TOKEN = "your-api-token" Get Website Stats curl -s " $UMAMI_URL /websites/WEBSITE_ID/stats?startAt=1711584000000&endAt=1711670400000" \ -H "Authorization: Bearer $UMAMI_TOKEN " Response: { "pageviews" : { "value" : 1234 , "prev" : 1100 }, "visitors" : { "value" : 890 , "prev" : 800 }, "visits" : { "value" : 950 , "prev" : 850 }, "bounces" : { "value" : 312 , "prev" : 290 }, "tota

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles

“Learn to Code” Is Dead… Learn to Think Instead
How-To

“Learn to Code” Is Dead… Learn to Think Instead

Medium Programming • 17m ago

How-To

How One File Makes Claude Code Actually Follow Your Instructions

Medium Programming • 29m ago

LeetCode Solution: 121. Best Time to Buy and Sell Stock
How-To

LeetCode Solution: 121. Best Time to Buy and Sell Stock

Dev.to Tutorial • 39m ago

The Feature Took 2 Hours to Build — and 2 Weeks to Fix
How-To

The Feature Took 2 Hours to Build — and 2 Weeks to Fix

Medium Programming • 1h ago

Blog 15: SDLC Phase 4 — Testing
How-To

Blog 15: SDLC Phase 4 — Testing

Medium Programming • 2h ago

Discover More Articles