spcaeo/skald
Sobre
Self-hosted Google Analytics alternative that reads your server access log: real people, AI assistants, crawlers, bots and the scanners probing your site, which JavaScript analytics never see. Leads and revenue by source. Every figure counted twice. No cookies, no third-party script. Python, SQLite, Docker.
Sistemas e infraestruturaO que você pode fazer
- The dashboard: six sections (Overview, Traffic, Leads & sales, AI & bots, Security, Site); every view has its own link; copy and open icons on every value; Today (live), 7, 30 and 90 days and Compare on every tab; Right now on Overview (who is here, the page each is on, Refresh now) with a world map; one search for everything (Ctrl K).
- Traffic and audience: five groups that add up to the log, every day; visits, pages, sources, campaigns, countries and cities; journeys, first touch, retention, Search Console and Bing.
- AI and machines: AI assistants and crawlers by name, the pages they read and what they cost your server; AI readiness per page; AI clicks hiding in Direct; crawler rules; AI answers.
- Results: Leads & sales in four tabs (Leads, Summary, Revenue, Funnels), one period on each, today included: leads, revenue, bookings and funnels by source; events under Traffic; leads you can check, and signed webhooks out to your CRM.
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +3
- em 15 dias
- Coletando histórico
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Original
Skald
Say it “skawld” (/skɔːld/), one syllable, rhymes with “called”: an old Norse poet who told what happened.
Every visit, truly told.
Web analytics from your server's own access log: the people, the AI assistants and the crawlers
that a JavaScript tracker never sees. Every figure is counted twice, by an independent audit.
No cookies, nothing needed in the visitor's browser. Self-host it free, or try hosted Skald in beta.
Live demo · Quick start · What's new · Screenshots · Comparison · Install guide · Security · FAQ · Hosted beta / commercial
What's new
- 2.62.1: shipped log lines no longer fail with "too many open files" during busy minutes (changelog).
- 2.62.0: a drawer's figure equals its row and follows Traffic's filter; not counted yet is never 0; a page's Google figures follow the period, with unknown days drawn honestly; searches written with operators marked likely automated; More countries is one searchable list; a faster live count; update marks are page updates, not sitemap re-dates (changelog).
- 2.61.0: Microsoft Clarity as an optional tool, with each page's Clarity days; Search drawers drill down from a page to its searches and back; Positions says whether the site is moving up; likely-automated searches marked, with a people-only CTR; index status fixed for section links (changelog).
- 2.60.0: find a page by its full address or title; Hidden referral split out of Direct; forms counted honestly; fewer false security exposures, and a checked one can be marked Not a problem; Claude's fetches verified again; Gemini's live fetch and RiverBot named (changelog).
- 2.59.0: one Country / Source / Device filter for four Traffic tabs; Search figures up or down and why each opportunity; why the Retention curve moves; when to release; every event on Events; each page's own dates and Google figures; Yesterday from soon after midnight (changelog).
- 2.58.0: Traffic › Agent files shows who reads the files a site made for AI; NeetoCal bookings; security items no longer close at midnight; set-up steps name the site as it was added; "Visits count as people" reads the saved file paths (changelog).
- 2.57.0: Google Analytics on Overview › Today with more of its own figures and a drawer; AI training counts pages with files apart; Overview's AI card split by why the AI came; a compact Requests per minute chart (changelog).
- 2.56.1: a missing picture in a site's own asset folder no longer withholds the day; a withheld day no longer sends a failure mail that calls it a crash (changelog).
- 2.56.0: a Cloudflare Worker's bursts are no longer refused and refused posts are shown; a log holding a CDN's addresses is said and counted right; Next.js scanners and image checkers are bots; unknown addresses say No such page; each browser-seen step shows its time (changelog).
- 2.55.0: saves work on a site before its first build; a person named on several new sites gets all of them; People shows which sites each member sees (changelog).
- 2.54.1: a visitor joined from Chrome's prefetch proxy keeps their own country on a log with no country; every audit road counts the join (changelog).
- 2.54.0: Add a site says why an address can't be added at its first step; an invite limited to some sites lands on one of them; Google visitors on Android Chrome are counted again (changelog).
- 2.53.1: Recorded journeys in the visitor drawer answers again; a log sender's hang-up is one line in the server log (changelog).
- 2.53.0: Back starts afresh from the left menu, "(all others)" stays the last row, clearer AI answers, Right now says how often it is counted, and Leads & sales says why it opens on 7 days (changelog).
- 2.52.0: the weekly mail's Top pages count every read; "What changed" says which window each line covers; no empty uptime row (changelog).
- 2.51.0: the site switcher scrolls inside the window, and with seven sites or more a Find a site box narrows it as you type (changelog).
- 2.50.1: page addresses longer than 70 characters are kept whole, and Open goes to the real page (changelog).
- 2.50.0: a short daily summary mail; pages loaded ahead and visits past midnight read right in journeys (changelog).
- 2.49.1: one odd referrer from a scanner can no longer stop a site's count (changelog).
- 2.49.0: Leads & sales in four tabs with one period rule; ask your AI how people reach a page and where they booked; newest first everywhere; a warning when Search Console stops (changelog).
- 2.48.2: Right now never steps back (changelog).
- 2.48.1: each page's index status comes in about four times faster (changelog).
- 2.48.0: Search Console for AI agents, with each page's index status; a page's latest crawl and time on page (changelog).
- 2.47.0: Overview is one page with Right now on top: who is here, the page each is on, and Refresh now; a lead's profile in its drawer (changelog).
- 2.46.6: right after an upgrade every dashboard page shows the new version at once (changelog).
- 2.46.5: Find a person shows a lead's own visits, in order, proven or likely (changelog).
- 2.46.4: Funnels count the leads your site sends; default funnel without a pricing step; Calendar bookings shows only its own sales (changelog).
- 2.46.3: Leads & sales › Summary shows sales and each action's value; no clamped 100% rate (changelog).
- 2.46.2: an opened failed fix says plainly what is still wrong; addresses only bots ask for no longer fail it (changelog).
- 2.46.1: a fix for 2.46.0, each Insights card shows only its three lines until opened (changelog).
- 2.46.0: Insights shows only what needs fixing; crawlers in a real browser are counted as crawlers (changelog).
- 2.45.7: in-page events are kept even on a day whose log figures are held back (changelog).
- 2.45.6: an upgrade no longer shows "404 Not Found" on a dashboard (Docker) (changelog).
- 2.45.5: a fix for 2.45.4, a day with your own server's error adds up again (changelog).
- 2.45.4: your own server's errors are not your site's; to-dos people met come first (changelog).
- 2.45.3: a Calendly or Cal.com booking with only the visitor ID shows the pages before it (changelog).
- 2.45.2: quieter morning checks (held webhooks on keep-everything sites, Search Console's last 3 days) (changelog).
- 2.45.1: a POST your site refused (scanners' 404s and 405s) is not a form (changelog).
- 2.45: "sent a form" means a form; leads fill in from their visits (changelog). A POST a page's own script sends by itself is no longer a form (Settings › Data › Not forms); a lead with a visitor ID gets its touches from that browser's page views; ad click IDs, opt-in.
- 2.44.1: a webhook key that does not match loses nothing (changelog). Refused deliveries are held and taken in once the right key is saved; each tool says its key in its own word, keeps the saved state on screen, and the Test says it checks Skald's side only.
- 2.44: set-ups that say whether they worked, AI agents that add sites (changelog). Every line, command and key you hand on shows its live status, with a Test; Search Console connects by itself and Traffic › Search shows its history arriving; an Add sites token lets an AI agent add sites over MCP, within the plan; leads from your own server get their country, with a warning when they stop; a short welcome line on a new person's first load.
- 2.43: your own tools beside the log, organisations you manage (changelog). Google Analytics 4, Vercel Web Analytics, Calendly and Resend, read with your own key, shown apart and labelled, never added to the log's counts; Settings › Organisations with site access per person; Add a site with live progress and invites when the data arrives; every empty page says how to connect its source; Check again on Insights to-dos; AI counted in reads, not requests; Search opportunities, new and lost queries; recorded journeys from your site.
- 2.42: a simpler dashboard, screen by screen (changelog). One question first, Who will do it? Me, My developer or My AI agent; help behind "?"; Settings with a menu on the left; Add a site in two steps; Compare on by default.
Earlier releases: CHANGELOG.md.
Your analytics cannot see the new visitors
More and more people ask ChatGPT, Claude or Perplexity before they visit a website. When they do, the assistant fetches your pages to write its answer. AI companies also crawl your site to train their models. None of that runs JavaScript, so Google Analytics, Plausible and other script-based tools never count it. Google Analytics also drops known bots on purpose.
Skald reads the one record that sees every visit: your web server's access log. Every request lands in exactly one of five groups, and the five add up to the log exactly.
| Group | What is in it |
|---|---|
| People | A browser that is none of the groups below. Self-reported, so an upper bound. |
| AI assistants | Split by why they came: to train, because someone just asked a question, or a person who clicked a link in an AI answer. |
| Search engines | Google, Bing and other classic indexing. |
| Bots and scanners | Monitors, SEO tools, chat link previews, and probes hunting for .env or wp-login. |
| Your own traffic | Your team, your crawler, your tests. Kept apart, never counted as people. |
How much of your traffic is AI assistants reading your pages? Only your server's log can say, and Skald's first run answers it for your own site, from the log you already have.
Why Skald
See AI assistants and crawlersGPTBot, ClaudeBot, PerplexityBot, ChatGPT-User and the rest, by name, with the pages they fetched.
Each AI request is filed by why it came: training, answering someone live, or a person clicking
a citation. The three never double count. See what each one asks for ( |
Trust the namesA crawler's claim is checked against its owner's published addresses or DNS (Google, Bing, Apple,
OpenAI, Perplexity, Anthropic, DuckDuckGo, River, Meta; DNS for others). A fake is filed apart as
"claims to be GPTBot". Every name, owner and check: |
Every figure counted twiceA separate audit recounts every figure from the raw log with its own parser and rules. If the two counts disagree, the day is withheld, never guessed. A missing day is never drawn as zero, and a figure that was not recorded stays blank. |
Private by design, yours to setNo script and no cookie are needed in the visitor's browser, and everything stays on your server. History keeps totals and labels. Whether each visit keeps its IP address and each lead its email is a setting: on for a new install, off on an upgraded one until you turn it on. One command deletes a person everywhere. |
Live, not 48 hours lateRight now, on top of Overview, shows who is on the site at this moment: each person, the page they are on now, whether they are new, returning, a lead or a customer, and how long they have been there; Refresh now counts the site again at once. Under it, a world map, the pages being read and the AI and crawlers fetching right now. Today, the first period in the top bar of every tab, shows today so far, counted again every few minutes. The last 6 hours can be read request by request, each with the rule that put it in its group, in words. Alerts show on the dashboard, by email, or in Slack. |
Results, not just visitsEvery lead in one list (who, what they did, its stage now, where it came from), as a list, board,
timeline or map, then funnels and conversions. Leads and demos booked also sit beside the traffic: Overview, Sources, Pages, Places & devices and
Insights, with a lead rate per source, page and country. Calendly, Cal.com, Stripe, Typeform,
HubSpot and Zapier push signed webhooks; the optional |
Find the AI traffic hiding in "Direct"A click from a ChatGPT or Perplexity answer often arrives with no referrer, so other tools file it under "Direct". When someone asks an assistant, it fetches your page first, and Skald sees that fetch. A direct visit landing on that same page minutes later is shown as likely from that assistant: for visits, leads and conversions. Always labelled "likely", never mixed into the real counts, and counted twice. |
Works where your site livesYour own server's log, or the host's: Vercel and Netlify log drains, a Cloudflare Worker
that reports pages served from cache on any plan, CloudFront and Fastly logs, or a small shipper
from any server: one command ( |
Follow one person across daysSearch an IP address, an email or a lead and see that person's visits on every day kept (source, landing page, pages in order, country, device), and their leads and conversions, linked by visitor ID and email. An address is tied to a lead by the form it sent at the lead's time: likely, never certain. For admins and owners; every search is in the audit log. |
Nothing hidden, and setup that checks itselfSpam, duplicate and test leads, and cancelled, removed and test conversions, are listed in full,
never just dropped. Add a site looks at the site first and suggests the way in; each connection ends
with a Test. |
One log, two answers
Skald was built to answer one question: who really visits your site. The same access log also records everyone probing it, so Skald answers a second one: who is trying to break in.
A real example from our own site (21 Oct 2026): a "visitor" with a Chrome user agent and a
referrer from our own WordPress host loaded the home page and its scripts, then made 150 requests
in 14 seconds for AI provider credentials (Amazon Bedrock, LiteLLM, OpenAI, Anthropic configs),
.env files and Terraform state. Every one was answered 404, a redirect or a dropped connection.
Skald now files such a client as a scanner for the whole day instead of a visitor. Read the full
story: https://skaldanalytics.com/security/ai-key-thief/
The Security section shows, from the log alone:
- Is anything exposed? Every probe answered with content, set against the host's own fallback page, with the evidence.
- Who is scanning: each scanner, what it looked for, what your server answered.
- Attack attempts: login hammering, request bursts, injection in URLs.
- Fake browsers: clients that claim to be a browser but behave like a bot.
- Your stack and advisories: what serves each site, matched against advisories shipped with each release (currently php2shell and the Node.js October 2026 releases).
- A block list (nginx, Cloudflare, fail2ban) and alerts by email or Slack.
- One summary mail a day (01:00 in your time zone): each person gets one mail with every site's open security items, to-dos and set-up problems, never a mail per item.
What it is not: Skald does not block traffic, is not a WAF or intrusion prevention system, and cannot see request bodies or file contents, only what the access log records. Use it alongside your firewall, not instead of it.
Features
The headlines, area by area. Every feature, in full: docs/FEATURES.md.
- The dashboard: six sections (Overview, Traffic, Leads & sales, AI & bots, Security, Site); every view has its own link; copy and open icons on every value; Today (live), 7, 30 and 90 days and Compare on every tab; Right now on Overview (who is here, the page each is on, Refresh now) with a world map; one search for everything (Ctrl K).
- Traffic and audience: five groups that add up to the log, every day; visits, pages, sources, campaigns, countries and cities; journeys, first touch, retention, Search Console and Bing.
- AI and machines: AI assistants and crawlers by name, the pages they read and what they cost your server; AI readiness per page; AI clicks hiding in Direct; crawler rules; AI answers.
- Results: Leads & sales in four tabs (Leads, Summary, Revenue, Funnels), one period on each, today included: leads, revenue, bookings and funnels by source; events under Traffic; leads you can check, and signed webhooks out to your CRM.
- From your tools (2.43): Google Analytics 4, Vercel Web Analytics, Calendly and Resend, each read with your own key, labelled and kept apart from Skald's counts, rechecked against the tool's stored answer; alerts when a tool goes quiet, and a Monday mail.
- Security, from the same access log: is anything exposed, who is scanning, attack attempts, fake browsers, your stack's advisories, and a block list to review.
- Connecting a site: Add a site in two steps, by you, your developer or your AI agent; Skald checks your site from outside and ticks each step as it happens.
- Site: health, alerts with a Fix button, lost pages with the redirect to copy, speed, uptime and data quality.
- Team, data and agents: organisations you manage in the dashboard (site access per person, internal or client privacy, archive that deletes nothing), roles, one Export, client reports, a JSON API and an MCP server for AI agents.
- Inputs: nginx, Apache and Caddy logs, CDN logs, Vercel and Netlify drains, the Skald Worker
for Cloudflare,
skald-ship, or the beacon alone.
See it
Try the live demo: sample data, no sign-up.
The whole dashboard with 60 days of sample data for a made-up site: today's Overview live, the Summary with Right now and Insights to-dos, the world map, the visitor drawer, Search Console and Bing figures and AI answers (both made up), AI & bots, every Security tab, every lead in one list, and Settings › To do. Nothing to install; saving, the person search and the other Settings pages need your own Skald. Every image below is from the demo's sample data.
Not forms, and touches filled by Skald (2.45)
![]() Not forms. A path the page's own script sends is not "sent a form"; Skald suggests, you Add. |
![]() Filled by Skald. A lead sent with no touch gets its first and last touch from its visitor ID's own visits, and says so. |
|---|
Set-ups that test themselves, agents that add sites (2.44)
![]() Every line says whether it worked. Live status and a Test. |
![]() Watch it work, in short. One status line, the next action under it. |
|---|---|
![]() Search Console connects by itself. Its history arrives while you watch. |
![]() An AI agent adds sites. One Add sites token, over MCP, within the plan. |
![]() Leads get their country. And a warning when they arrive without one. |
![]() A welcome on the first load. Whose sites, where to start, where the help is. |
Your tools, organisations and set-ups that show they work (2.43)
![]() From your tools. Each tool's own figures, labelled and kept apart. |
![]() Organisations. Sites, members, internal or client; archive deletes nothing. |
|---|---|
![]() Add a site, live. Progress ticks itself; invites go when the data does. |
![]() Every empty page says how to connect it. What Skald found, and one Connect. |
![]() Leads & tools starts with your next step. |
![]() Check again. Re-run a to-do's own check after a fix. |
Is it working, and what to fix next (2.35)

What changed: is it working? Sources and landing pages, now against before.
![]() Work on the page, or on traffic? And are new pages found? |
![]() Pages: Rising, Falling, Recently changed. And each page's change date. |
![]() Insights: only what needs fixing. One short card per problem; a fix the log still finds failing says Failed. |
![]() Lost pages. The closest live page and the server line to copy. |
![]() AI readiness per page. Six checks, each with its evidence and fix. |
![]() Pages AI can't read well. Worst first. |
Did my change work? Before and after, with a verdict. |
![]() Back (2.42). One link back to where you came from. |
![]() AI reads per page. Now against before, to visits and leads. |
![]() Test a sample. Can Skald read a new log? Before the next run. |
![]() Latest crawl (2.48). Has Google seen the page since it changed? Each crawler's newest fetch and its status. |
For AI agents (2.48). The MCP's search_performance gives Search Console's clicks, impressions, CTR and position per page and day, the page's top queries and countries, and whether Google has the page indexed (URL Inspection: indexed or why not, last crawl, Google's canonical). A page's story also gives its time on page from the log. |
Security, from the same log (2.21)

Is anything exposed? Every probe that got a page, set against the host's own harmless page.
![]() Your stack. What serves each host, and which advisories apply. |
![]() Who is scanning us? Each scanner, what it looked for, what it got. |
![]() Attack attempts. Injection, login hammering, bursts and log signs. |
![]() Fake browsers. What gave them away, and what they took. |
![]() Block list. nginx, Cloudflare or a plain list, to review first. |
![]() Security alerts (2.36). In one daily summary, or right away. |
![]() One scanner. Its paths, its answers, its signs. |
![]() The public check (2.22, optional). Any site, read from outside, with the proof. |
Leads & sales (2.49: four tabs)

Leads. Who they are, what they did and where they came from, in one list.

Revenue (2.32). Which sources made money, per currency, never converted; refunds, renewals and lifetime value.
![]() Summary. How many, and better than before? |
![]() Where they came from. On Summary, last and first touch. |
![]() Demos, each step. Leads › What: Demos, no-shows too. |
![]() Funnels. Saved once, counted every day. |
![]() Left out, still listed. Spam, duplicates and test, never just dropped. |
![]() Removed, with when and why. |
![]() Person search (your own Skald). Every visit kept, across days. |
![]() One lead, linked. Its email, address, visitor ID and form visit. |
![]() The lead's own reference (2.25). The sender's ID, searchable, with a copy button. |
![]() Every step, and Mark as test (2.25). One click moves a test lead out of every count. |
![]() Find a lead by its reference (2.26). The ID from your own app finds the person. |
<img src="docs/screenshots/views-fill.png" alt="Settings, Site, Names & time: host names, the Views box with a page group Blog |
Live (2.11, 2.13, 2.20, 2.47)

Where visitors are, now (on Overview, under Right now). A dot on each city with someone on the site.
![]() Overview, today (2.47). Right now on top, then every figure against yesterday at this hour. |
![]() Where visitors are, now. The map and the lists, on Overview. |
![]() Right now (2.47). Who is here, the page each is on, and Refresh now for this site. |
![]() Live leads. Each lead and booking as it lands (Leads & sales). |
Connecting a site (2.16, 2.17, 2.31)

Fix this (2.41, 2.42). Who will do it? Me, My developer or My AI agent.

One line per site (2.41). Each site's own line, so many sessions can work at once.

Settings (2.42). To do first, then This site, AI, Organisation and You; each page one screen.

Data. How visits reach Skald, the script tag, what counts, and a test.
![]() Skald checks your site (your own Skald). And suggests the way in. |
![]() Add a site in two steps (2.42). Your site, then Connect it: you, your developer or your AI agent. |
![]() One line for your AI agent (2.31). A one-time code, never a key. |
![]() Watch it connect (2.31). Each step ticks; the agent's report in plain words. |
![]() Who will do it? (2.42). Every set-up job asks: Me, My developer or My AI agent. |
![]() Finish set-up (2.39). One line for every open job; the agent checks first. |
![]() One command (2.30). With or without Docker; the token is made for you. |
![]() To do (2.42). Each open line has a Set up button. |
![]() Leads in one file (2.30). One function to call; WordPress needs no code. |
![]() Send set-up to someone (2.30). One zip a person or Claude Code can follow. |
![]() Copy and open on every URL (2.21). Every view has its own link. |
![]() Copy any value (2.35). Addresses, user agents, emails, names. |
AI & bots

AI answers (2.14). What the assistants say, and what they then read and sent.
![]() Assistants. Who read your pages to answer someone. |
![]() Tracking profiles (your own Skald). A place and a language each. |
![]() What the AI read before it sent a visitor. |
![]() What AI fetches ask for. Pages, llms.txt, Markdown, sitemaps. |
![]() What each crawler costs. Requests, bytes, time, errors, re-crawls. |
![]() One crawler in detail. Impostors filed apart. |
![]() Crawl health. Which sitemap pages each crawler reaches. |
![]() What each assistant costs. Fetching live for a user. |
Traffic and the rest of the dashboard
![]() Overview. The period at a glance, with its exact dates. |
![]() Compare, on by default (2.42). Previous period, last year, any period, or off. |
![]() Sources. One grid; search, filters and sort in the address. |
![]() Visitors. Each visit page by page; the flow one click away. |
![]() Direct, likely. What Direct probably was, as an estimate. |
![]() Sale alerts. Alerts in groups; one alert per sale, by mail or Slack. |
![]() Social networks. One row per network, every address added up. |
![]() All your sites. Each source side by side. |
![]() One visitor, every visit. Where they first came from, replayable. |
![]() Advanced filters. AND, OR and groups; saved as views. |
![]() Cities. Each visit's city, from a free city file. |
![]() Search. Google's and Bing's figures beside Skald's own. |
![]() Retention. Who came back, week by week. |
![]() Client reports (your own Skald). Branded, with a PDF. |
![]() Shortened addresses. Full, shortened or none. |
![]() Privacy-notice wording. Made from what the site keeps. |
![]() Leads & tools status. Each road: connected, or what to fix. |
![]() Leads & tools. Grouped by what each tool brings, the next step first. |
![]() Data quality (2.36). What was not counted as a page, each day. |
![]() One summary mail a day (2.36). Security, to-dos and set-up, every site. |
![]() Choose a site. Each site's logo and today so far. |
![]() Site switcher. Every site, one click away; Find a site narrows a long list. |
![]() People. Roles, invites, two-step sign-in; each team says which sites it sees. |
![]() Site logo. From the site, an upload, or a letter. |
![]() MCP in Claude. Ask about your traffic in plain words. |
![]() skald doctor. Every part checked. |
![]() Help. Six groups of guides, in plain words. |
![]() On a phone. The same figures, and every section on one bottom bar. |
Quick start in 60 seconds
You need a server whose access log Skald can read. Full guide, all options and troubleshooting: docs/INSTALL.md. Hosting choices (Railway, Render, Fly.io, a VPS) and how to measure sites on Vercel, Netlify or Cloudflare: docs/HOSTING.md. Site on Vercel? Follow docs/VERCEL.md.
Hosting:
(a paid instance with a disk;
render.yaml sets it up). Railway, Fly.io and Kubernetes:
step by step in docs/HOSTING.md.
Option 1: Docker (fastest)
1. Start it with your web server's log mounted read-only:
docker run -d --name skald -p 127.0.0.1:8080:8080 \
-v /var/log/nginx:/logs:ro \
-v skald-data:/var/lib/skald \
ghcr.io/spcaeo/skald:latest
2. Open http://localhost:8080. The port is published on this machine only. To reach it from
elsewhere, put HTTPS in front: your web server proxying to 127.0.0.1:8080, or the bundled Caddy
(Option 2). docs/INSTALL.md has both recipes.
3. Make the first owner. This prints a link to set your password:
docker exec -it skald skald accounts init --org "Example Co" --owner-email [email protected]
4. Open the link, set a password, sign in. Your history lives in the skald-data volume.
5. Fill the history and check it. docker exec skald skald backfill --days 14 adds the days your
logs still hold; docker exec skald skald doctor then says, one line per part, what works and
what to fix. The full walk-through is the Help guide "Docker: first install in 10 minutes".
Settings come from environment variables (SKALD_SITE, SKALD_HOSTS, SKALD_TIMEZONE,
SKALD_BASE_URL, SKALD_EMAIL, SKALD_SMTP_*, SMTP_USER, SMTP_PASSWORD, SKALD_KEEP_IPS,
SKALD_IDENTITY) or a config file mounted at /etc/skald/config.yml. The
log must be readable by group adm (gid 4), as it is on stock Debian and Ubuntu.
Sign-in needs HTTPS. The session cookie is
Secure, so plainhttp://works only atlocalhost. On a remote server, put HTTPS in front (below).
Option 2: Docker Compose
git clone https://github.com/spcaeo/skald && cd skald
docker compose up -d
docker compose exec skald skald accounts init --org "Example Co" --owner-email [email protected]
docker-compose.yml is at the root of the repository. Edit its log path first if your logs are
not in /var/log/nginx.
On a server with your own domain
Either let your host's nginx or Caddy proxy /traffic* to 127.0.0.1:8080 over HTTPS, or start the
bundled Caddy, which gets a certificate for you:
SKALD_DOMAIN=stats.example.com docker compose --profile https up -d
Option 3: Install script (Debian, Ubuntu and similar)
The quick way, pinned to a release:
curl -fsSL https://raw.githubusercontent.com/spcaeo/skald/v2.7.0/install.sh | sudo bash -s -- --ref v2.7.0
This runs a script from the internet as root. To check it first, download the release and its checksums, verify, then run it:
curl -fsSLO https://github.com/spcaeo/skald/releases/download/v2.7.0/skald-2.7.0.tar.gz
curl -fsSLO https://github.com/spcaeo/skald/releases/download/v2.7.0/SHA256SUMS
sha256sum --ignore-missing -c SHA256SUMS # must print: skald-2.7.0.tar.gz: OK
tar -xzf skald-2.7.0.tar.gz && cd skald-2.7.0 && less install.sh && sudo ./install.sh
It installs into /opt/skald, with config in /etc/skald and data in /var/lib/skald, and puts
the skald command in /usr/local/bin.
Upgrading later: sudo skald upgrade (a backup, migrations, a health check, a rollback), update notices
and optional automatic upgrades, and the :2 Docker tag: docs/UPGRADING.md.
Option 4: From source
git clone https://github.com/spcaeo/skald && cd skald && sudo ./install.sh
Then the daily run and the live panel come from one command (it runs as the skald user, with
/etc/skald/config.yml, so use sudo):
sudo skald check # verify yesterday's figures; store nothing
sudo skald run-daily # check, collect, audit, dashboard, mail (the cron entry)
sudo skald live # "Today so far"; safe every 2 minutes
sudo skald version # brand, version and release
Needs: Python 3.11 or newer (tested on 3.11 to 3.14; install.sh installs 3.11 on Ubuntu
22.04, which ships 3.10). Nothing else: the standard library is enough. PyYAML is used only if it
is already installed, and Pillow, if installed, turns fetched site icons into small PNGs. The account that runs Skald must be able
to read the log (on Debian and Ubuntu, the adm group).
Integrations
The script tag (optional). One line in your page's <head> adds page views, form steps, phone,
mail and outbound clicks, 75% scroll, and Calendly, Cal.com and HubSpot bookings. Under 6.5 KB of
plain JavaScript served by your own Skald and posting back to it: no third-party code, no cookie by
default, Do Not Track and Global Privacy Control respected. Visitor IDs are set per site and can be
shared across subdomains (docs/INTEGRATIONS.md).
<script src="/traffic-js/skald.js" data-site="example.com" defer></script>
Incoming webhooks, each checked against its tool's own signature on the raw body (a repeat
changes nothing): Calendly and Cal.com bookings, HubSpot meetings, contacts and deals, Stripe
payments, Typeform, the signed json hook for Zapier, Make, n8n or any script, and the signed
lead hook from your own server. Settings › This site › Leads & tools shows each road's state and flags a lead
that arrived by two roads. The Help guides "Pick your road" and "Send leads from your backend in 5
minutes" cover each kind of site; everything an app needs to send, check and read back its leads is
on one page: docs/LEADS-REFERENCE.md.
Outgoing webhooks. Signed, HTTPS only, never to a private address, retried five times over about 15 hours, and never with a name or an email.
Cloudflare on any plan. The Skald Worker counts the pages Cloudflare serves from its cache (docs/HOSTING.md).
API and MCP. A read-only JSON API over every dashboard figure, with revocable, scoped tokens
(docs/API.md), and an MCP server with 31 tools for Claude, ChatGPT and any
MCP client that can send a header: overview, breakdown, top_pages, ai_activity, leads,
funnel, compare, page_story, live_today, data_quality, site_health, conversions,
list_sites, what to fix and whether it worked (what_changed, todos, lost_pages,
page_changes, ai_readiness, changed_pages), what is left to set up (setup_left) and,
with the read_private scope only, find_person. Answers call visits "an upper bound on people"
and name every withheld day. It changes nothing, with a few exceptions, each behind its own token
scope: setup_line makes a one-time set-up line for your AI agent (setup), and add_site
adds a site within your plan, then site_progress and check_site watch it arrive
(add_sites). OAuth sign-in is not offered yet (docs/MCP.md).
claude mcp add --transport http skald https://stats.example.com/traffic-mcp \
--header "Authorization: Bearer skald_<id>_<secret>"
How Skald compares
Facts about other tools come from each vendor's own docs, pricing pages or source code, checked on 2026-10-07. Rows added after that date were checked for few or no other tools; the rest say nc. The full matrix, with a source for every cell, is in docs/COMPARISON.md.
✓ yes · ◐ partly, or on some plans or setups · ✗ no, or not found in its docs · ? not confirmed on the vendor's pages · – does not apply · nc = not checked
| Skald | GA4 | Plausible | Umami ¹ | Matomo | PostHog | Cloudflare ² | GoAccess | |
|---|---|---|---|---|---|---|---|---|
| How it collects | Server access log | JS tag | JS snippet | JS tracker | JS tag, or log import | JS SDK | JS beacon; AI Crawl Control at the edge | Server access log |
| Nothing runs in the visitor's browser | ✓ | ✗ | ✗ | ✗ | ◐ | ✗ | ◐ | ✓ |
| Counts visitors with an ad-blocker | ✓ | ✗ | ◐ | nc | ◐ | ◐ | ✗ | ✓ |
| AI training crawlers (GPTBot, ClaudeBot) | ✓ | ✗ | ✗ | ✗ ³ | ◐ | ✗ | ✓ | ✓ |
| AI assistants fetching a page to answer someone | ✓ | ✗ | ✗ | ✗ ³ | ◐ | ✗ | ✓ | ✓ |
| People who clicked through from an AI answer | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ◐ | ✗ |
| Splits AI traffic by why it came | ✓ | ✗ | ✗ | nc | ? | ✗ | ? | ✗ |
| Checks a crawler is who it claims to be | ✓ | – | – | nc | ? | – | ◐ | ✗ |
| Totals must add up, or the day is withheld | ✓ | ✗ | ✗ | nc | ✗ | ✗ | ✗ | ✗ |
| A second, independent recount of every figure | ✓ | ✗ | ✗ | nc | ✗ | ✗ | ✗ | ✗ |
| Events inside the page | ✓ ⁴ | ✓ | ✓ | nc | ✓ | ✓ | ✗ | ✗ |
| Funnels | ✓ | ✓ | ◐ | nc | ◐ | ✓ | ✗ | ✗ |
| Search queries, impressions, position | ✓ | ◐ | ◐ | nc | ◐ | ? | ✗ | ✗ |
| What AI assistants answer about you, per place and language | ✓ | nc | nc | nc | nc | nc | nc | nc |
| Scanners, probes and attack attempts from the server log | ✓ | ✗ | ✗ | nc | nc | nc | nc | nc |
| Known advisories matched to your site's stack | ✓ | ✗ | ✗ | nc | nc | nc | nc | nc |
| Ad cost and Google Ads link | ✗ | ✓ | ✗ | nc | ? | ? | ✗ | ✗ |
| Runs on your own server | ✓ | ✗ | ◐ | ✓ | ✓ | ◐ | ✗ | ✓ |
| Deleting one visitor on request | ✓ | ? | – | nc | ✓ | ? | – | ✗ |
| AI agents can query it (MCP) | ✓ | nc | nc | nc | nc | nc | nc | nc |
| Licence | ELv2 (source-available) | Closed, SaaS | AGPLv3 (Community Edition) | MIT | GPL | MIT (self-host) | Closed, SaaS | MIT |
| Price | Free to self-host | Free; 360 on request | From $9/month; self-host free | Cloud free to 100k events | Cloud from EUR 29/month; self-host free | 1M events/month free | Web Analytics free | Free |
¹ Umami is in the "Also checked" list of docs/COMPARISON.md, not in its
full matrix; only its collection method, bot handling, AI referral channel, licence and price were
checked. ² Cloudflare Web Analytics (the beacon) together with AI Crawl Control, which needs your
traffic to pass through Cloudflare. ³ Umami excludes bots by default. ⁴ With the optional skald.js
tag or beacon.
Where others lead (honestly)
- Search itself. Queries, impressions and ranking come only from Search Console and Bing Webmaster Tools. Keep them: Skald syncs their figures and shows them beside its own, but the figures stay the engines'.
- Blocking attacks. Skald shows who probes your server and what they tried; it blocks nothing. Keep your firewall or WAF.
- Deep in-page analysis and ad spend. GA4 and PostHog see far more inside the page, and GA4 links to Google Ads. Skald's tag sends clicks, form steps and bookings, but no more.
- Any host, any cache. Script tools work anywhere. Skald needs a log: a page a CDN serves from its cache never reaches your server's log unless you feed Skald the CDN's own log.
- Charging AI crawlers. Cloudflare can charge per crawl. Skald can block, not charge.
Who should use what
- What people searched for, and where you rank: Search Console and Bing Webmaster Tools.
- Clicks, scrolls, funnels and ad spend inside the page: GA4 or PostHog.
- Simple cookie-free counts on any host: Plausible.
- What AI engines say about you, often with content or audit tools to change it: an AI visibility platform such as Searchable, Profound, Peec AI, Otterly.AI or Promptwatch (hosted services). Skald adds every request in your own log, crawler names checked for nine owners, and the leads AI sent.
- Crawling a large site and joining its bot logs with Search Console, for technical SEO: an SEO crawler with a log analyzer such as JetOctopus (hosted). It keeps only the bot lines; Skald adds the people, the leads and every other request in the same log.
- Every visitor, crawler and AI fetch, with checked figures, on your own server: Skald. It sits beside the tools above. Even the gap between Skald's count and GA4's is useful: it shows how much the script misses.
Who it is for
- Founders and marketers who need to know whether ChatGPT, Claude and Perplexity read their site, and whether those answers send people and leads.
- Agencies and SEO teams who report AI visibility to clients and need figures that hold up.
- Engineers and site owners who want analytics with no third-party script, no cookie banner for counting, and data that stays on their own server.
- Privacy-minded organisations that must answer a deletion request with one command.
More in docs/POSITIONING.md and the story in docs/WHY-WE-BUILT-SKALD.md.
Tech stack
| Layer | What it uses |
|---|---|
| Language | Python 3.11+, standard library only. No pip install. PyYAML and Pillow optional. |
| Storage | SQLite: history.sqlite (daily totals), accounts.sqlite, conversions.sqlite. One file each, easy to back up. |
| Dashboard | Vanilla ES modules and plain CSS. No build step, no framework, no third-party JavaScript, no web fonts, no request to anywhere else. A strict Content-Security-Policy. |
| Branded HTML reports with inline styles, plain-text alternative, nothing fetched from outside the mail. | |
| Web server | nginx or Caddy in front for HTTPS (the Docker https profile adds Caddy with automatic certificates). The reference nginx setup adds a sign-in check with auth_request and rate limits. Reads nginx, Apache and Caddy logs. |
| Running | cron and systemd on a plain Linux server, or the Docker image. Two small local helpers on 127.0.0.1 (or a Unix socket). |
| Security | scrypt password hashes, HMAC-SHA256 for visitor keys and webhook checks, TOTP (RFC 6238) two-step sign-in. |
| Tests | 2,600+ tests, standard library unittest, exact numbers against hand-built logs. |
Architecture
flowchart LR
subgraph Visitors
P[People]
A[AI assistants and crawlers]
B[Search engines and bots]
end
P & A & B --> W[Your web server<br/>nginx, Apache or Caddy]
CDN[CDN logs<br/>Cloudflare, CloudFront, Fastly] --> L
SHIP[skald-ship on another server] -->|HTTPS, ingest token| H
W --> L[(Access log)]
L --> C[skald collect and live<br/>classify, verify crawlers]
C --> AU[Independent audit<br/>second count]
AU -->|agrees| HI[(history.sqlite<br/>totals and labels only)]
AU -->|disagrees| WH[Day withheld]
HI --> D[Data files JSON]
D --> UI[Dashboard<br/>ES modules, no build]
D --> M[Daily and weekly mail]
D --> API[Read-only API]
D --> MCP[MCP server<br/>Claude, ChatGPT]
TAG[skald.js tag and webhooks<br/>Calendly, Stripe, HubSpot...] --> BH[Beacon helper]
BH --> CV[(conversions.sqlite<br/>conversions, people's visits)]
CV --> D
H[Refresh helper<br/>sessions, settings, tokens] --- UI
H --> ACC[(accounts.sqlite)]
Security and privacy
- No addresses in history. Stored history holds totals and labels only. Returning visitors use a keyed one-way hash, deleted after 30 days.
- People, as a switch. A new install keeps each visit with its IP address and browser
(
privacy.keep_ips, 395 days by default) and leads' names and emails (conversions.identity: full), apart from history and behind sign-in, so admins can follow a person across days. An install upgraded from before 2.4.0 keeps neither until you turn them on (Settings › This site › Privacy > People, orSKALD_KEEP_IPS=1/SKALD_IDENTITY=full). Your privacy notice must say so first. - Shortened addresses (2.15). Keep each visit's IP with its last part removed (203.0.113.57 is
kept as 203.0.113.0; IPv6 keeps its first 48 bits): country, city and counts still work, and no
exact address is kept (
privacy.keep_ips: short,SKALD_KEEP_IPS=short). Counted twice too. - Wording for your privacy notice (2.15). Settings › This site › Privacy writes a short text for your privacy page from what the site really keeps, ready to copy. A starting point, not legal advice. Off, raw addresses stay only in your own log (14 days), the 6-hour request log (Site > Requests) and today's AI activity.
- One true delete.
skald forgetremoves a person's address, visits, conversions, name and email everywhere Skald keeps them. Every person search is written to the audit log. - Webhooks keep only what counts. Phone numbers, form answers, addresses and browser strings are dropped before anything is written; a name and email only when the site keeps them.
- Signed everything. Webhooks are checked against each tool's signature; outgoing hooks are signed and HTTPS only.
- Hardened sign-in. scrypt hashes, HttpOnly + Secure session cookie (only its SHA-256 stored), CSRF tokens, slow-down after failed sign-ins (no lock-out), optional TOTP, scoped tokens shown once, an audit log that never stores a password, token or address.
- Two security reviews were done on the 2.0 platform code (sign-in and sessions, sites, mail, webhooks) before this release, and their fixes are in it. For example, a site added in the dashboard must prove its domain before Skald collects for it.
- Secrets stay out of the repo. Secrets typed in the dashboard are write-only and kept in a
0600file; SMTP logins come from an env file the config names.
Read SECURITY.md for what Skald stores, the hardening checklist and how to report a vulnerability privately.
FAQ
Is Skald open source? Skald is source-available under the Elastic License 2.0. You can read, use, change and self-host it for free, for your own sites or your clients' sites, including at work. The one thing you may not do without a commercial licence is offer Skald to others as a hosted or managed service. Because of that limit, ELv2 is not an OSI-approved open-source licence, and we do not call it one. Questions: contact us.
Can I use it for my agency's clients? Yes, if you run it for them. Selling access to a hosted Skald that others sign up for is the case that needs a licence. If you are unsure, ask.
Why do my numbers differ from Google Analytics? They count different things. GA4 counts browsers that run its script and accept it; ad-blockers and refused consent hide many visits from it. Skald reads the log, so it sees those, plus AI and bots in their own groups. Skald's "people" is an upper bound, because a browser's name is self-reported.
Does it replace Google Analytics or Search Console? No. Keep Search Console for queries and ranking, and GA4 or PostHog for deep in-page analysis and ad spend. Skald sits beside them.
Can it tell me how often ChatGPT cites me? Partly. Skald sees each live fetch an assistant makes for a user's question, and each person who clicks through, but not the answer the assistant gives. Clicks are a floor, because referrers are often stripped. Clicks from Google AI Overviews look like ordinary Google clicks and cannot be told apart.
Does it count visitors who decline or ignore the cookie banner?
Yes. Skald counts from your web server's own access log, and the server writes a line for every
request, whatever the visitor chose on the banner. Skald sets no cookie and stores nothing on the
visitor's device to count them. The optional script tag is the one part that follows the banner: it
can wait for consent (data-consent="required"), does nothing when Do Not Track or Global Privacy
Control is on, and keeps no visitor ID unless you turn IDs on. The log holds IP addresses, which are
personal data in places like the EU: you choose whether Skald keeps them in full, shortened (the last
part removed) or not at all, and for how long, and Settings › This site › Privacy writes the wording for
your privacy notice.
What if my site is on Vercel, Netlify or a static host?
Vercel and Netlify can send every request to Skald with a log drain (Vercel Pro, Netlify
Enterprise); step by step for Vercel: docs/VERCEL.md. Behind Cloudflare, use
Logpush or the Skald Worker. Otherwise use a CDN's log, ship the log from another server with
skald-ship, or use beacon-only mode (people only). See docs/HOSTING.md.
How heavy is it? A busy day's log takes about a second for the live view, and only today's files are opened. No database server, no queue, no build step.
Is there a hosted version? Yes, in beta. Join the beta or start a 30-day free trial: we set the account up for you within one working day, and no card is needed. Or run Skald on your own server, free, with the quick start above.
Roadmap
- An outside uptime check, beside today's same-server heartbeat.
- OAuth sign-in for MCP clients, so connector screens can add Skald without a header.
- Rotation of the returning-visitor key.
- More crawler owners verified (Baidu next).
- More advisories in Security's shipped list as they are published.
- Counting refinements listed in docs/ROADMAP.md: HEAD requests,
/pricingequal to/pricing/,%xxdecoding. - Hosted Skald out of beta.
Have a need that is not here? Open a feature request.
Contributing
Bug reports, fixes and docs are welcome. Two house rules matter most: every new figure gets a second, independent count, and no file grows past 1,000 lines. Setup takes a minute because there is nothing to install:
git clone https://github.com/spcaeo/skald && cd skald
python3 -m unittest discover tests
Read CONTRIBUTING.md (including the short contributor licence agreement) and the Code of Conduct. Changes are listed in CHANGELOG.md.
Hosted Skald and commercial licences
Rather not run a server? Hosted Skald is in beta at skaldanalytics.com: 30 days free, no card, your account ready within one working day. Or join the beta list and we will contact you.
Want to offer Skald to your own customers as a service? That needs a commercial licence from Space-O Technologies. Talk to us.
Licence
Elastic License 2.0. Copyright 2026 Space-O Technologies. "Skald" and the Skald logo are trademarks of Space-O Technologies; see NOTICE.
Author
Rakesh Patel built Skald.
Skald began as a tool for one question on our own website: is AI reading us, and does it send anyone? No tool could answer it from data we owned, so we built one. |
If Skald shows you something your analytics could not, give it a ⭐ star so others
find it, and Watch → Releases to hear about new versions.
Star Skald on GitHub ·
Report an issue ·
Ask a question
Explore projetos relacionados
Carregando…






























































































