fivebar

Switching from Plausible

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

Swap the tag, carry your events and goals across, and bring the site’s history with it.

Add the tag

Add the site, then put fivebar’s tag in the <head> of every page, beside Plausible’s:

<script async data-domain="example.com" src="https://fiveb.ar/js/tally.js"></script>

Run both for a few weeks to compare the same days, then remove Plausible’s tag and its snippet.

What Plausible’s optional measurements do, fivebar does with the tag or an attribute on it:

In PlausibleIn fivebar
Outbound links, file downloads and form submissionsCounted with the tag alone, as links, downloads and forms
404 error pagesCounted with the tag alone, as error pages, with data-status="404" on the tag for Safari
Custom properties on pageviewsdata-property-author="Ada" on the tag
A custom URL in place of the page’s owndata-path="/login/:token" on the tag
Hash-based routingNot counted apart: switch the router to real paths, as Single-page apps says

Events and goals

Each plausible() call becomes a tally() call with the same name, and its props as the data:

Plausiblefivebar
plausible('Signup')tally('Signup')
plausible('Signup', { props: { plan: 'pro' } })tally('Signup', { plan: 'pro' })
plausible('Purchase', { revenue: { amount: 19.99, currency: 'GBP' } })tally('Purchase', { revenue: 19.99, currency: 'GBP' })
plausible('Signup', { callback: done })tally('Signup', {}, done)
class="plausible-event-name=Signup plausible-event-plan=pro"data-tally="Signup" data-tally-plan="pro"

Where your pages queue calls before Plausible’s script loads, queue them for fivebar’s as Custom events shows. An event keeps up to 8 names in its data: see Data.

Every event is a goal already, so custom event goals need no setting up. A pageview goal, such as /thanks, becomes a page goal in the site’s settings, with * for anything.

Bring the history over

Once fivebar is counting, export the site from Plausible and import the zip under Import in the site’s settings. The dashboard then reaches back before fivebar’s first day: see Importing from Plausible.