fivebar

Docs

Copy page
View Markdown
Open with
Connect MCP
Claude Mistral Vibe Cursor VS Code

How to add fivebar to a site, what it counts, and how to read what it counted.

Installing

  • Getting started Add your site, put the tag on every page, and check it’s counting.
  • Switching from another tool Move a site over from Plausible, Google Analytics, Fathom, Matomo or Simple Analytics, with its events, goals and history.
  • Coding assistants Have an AI coding assistant, such as Claude Code or Cursor, add fivebar to your site and check it works.
  • Platforms Where the tag goes on WordPress, Shopify, Next.js and other platforms, and in Google Tag Manager and other tag managers.
  • Proxying Serve the script from your own domain, through Cloudflare, Vercel, nginx and others, so content blockers let it through.
  • Server events Count each call to an API or an MCP server, sent by its own server with an API token.
  • Script attributes Every attribute the script tag reads, from data-domain to data-api, and what each does.
  • Single-page apps How fivebar counts each page of a single-page app, with nothing extra to set up.

Counting more

  • Custom events Send an event from a page with tally(), or from a click with a data-tally attribute.
  • Goals Count what visitors do, such as signing up, and see how many visits convert.
  • Links, downloads and forms Links to other sites, file downloads, forms sent, and phone and email links, counted with nothing to set up.
  • Custom properties Label pages with their author, type or anything else, and see each as a pane.
  • Site search See what visitors search your site for, and which searches found nothing.
  • Errors Pages answered with an error, such as 404s, and errors thrown by your pages’ scripts.
  • A/B tests Label each variant of a test, then compare their conversion rates, bounce rates and speed.

The dashboard

  • Metrics What each figure on the dashboard counts, from pageviews and visitors to bounce rate and visit duration.
  • Date ranges Choose the dates the dashboard shows, from a preset range to custom dates, and step between periods.
  • Panes What each pane on the dashboard lists, where its values come from, and the full view each opens.
  • Filters Narrow the whole dashboard to one page, source, country or any other value, up to six at once.
  • Sources and campaigns Where visits come from: sources, channels and the utm_ tags on your links.
  • Page speed How fast pages load for your visitors: TTFB, LCP, INP and more, at the 75th percentile.
  • Engagement How long each page was on screen and how far down it was read.
  • Bots What fivebar takes for a bot, left out of every other figure, and the Bots page that shows them.

Your sites

Apps and the API

  • Connecting apps Connect Claude, ChatGPT, your editor or any app that speaks MCP to your fivebar stats.
  • API Read your sites’ stats as JSON, and list, add and check sites, with an API token for your scripts.

About fivebar

  • Our bot What fivebar fetches from other people’s sites, how often, and how to refuse it.
  • Brand How to write fivebar’s name, its logo to download, and its colours and type.
  • Privacy What fivebar keeps about visitors and about you, where, for how long, and who else handles it.
  • Infrastructure Where fivebar keeps your data and your visitors’, and for how long.