A/B testing with Fathom Analytics
Last updated: 29 November 2026.
Fathom Analytics counts your visitors and the events you set up, and it sets no cookies. It does not split visitors between versions of a page, and its help centre lists no A/B testing feature. Pickbook A/B does the split, counts who reaches your goal, and gives the answer. With one setting it also sends each visitor's version to Fathom as an event, so you can see the versions in your own Fathom dashboard.
What Fathom does and what Pickbook A/B does
Fathom measures traffic. Pickbook A/B runs the test: it decides which version each visitor sees, counts each visitor once, and tells you in plain words which version did better. Read How Pickbook A/B picks a winner for how it decides. Pickbook A/B sends Fathom the name of the test and the name of the version, and nothing else. It never sends visitor IDs or personal data, and it reads nothing back from Fathom.
Turn it on
Add data-analytics="fathom" to the Pickbook A/B script tag. The setting is off until you add it. Your
Fathom script must be on the same page. Keep the long line that comes before the tag in your install code exactly as
it is.
<script async src="https://YOUR-ADDRESS/pickbook.js?v=2" data-key="YOUR-WEBSITE-KEY" data-analytics="fathom" data-pickbook onerror="var c=document.documentElement.classList;c.remove('pickbook-hide');c.add('pickbook-ready');window.pickbook&&pickbook._e&&pickbook._e()"></script>
You can list more than one tool, for example data-analytics="fathom,plausible", or use
data-analytics="all". Fathom's script often loads after Pickbook A/B, so Pickbook A/B tries again for
5 seconds. If Fathom loads later than that, that page sends no event. It sends each version to Fathom once per page.
What appears in your Fathom dashboard
Each version appears as its own event in Fathom. Fathom events take a name and one optional value, and they have no
properties, so Pickbook A/B puts the names in the event name, in this form:
pickbook_version: test = version. For a test named new-headline and a visitor who saw
Version B, the event is pickbook_version: new-headline = Version B.
The event name is cut to 100 characters, so short test and version names read best. In Fathom, open the events and
look for names that start with pickbook_version. Each one shows how often that version was
shown, not how many different visitors saw it, because the event is sent once on every page view where the test runs.
Which numbers to trust for the answer
Read the winner from Pickbook A/B, not from your Fathom reports. Pickbook A/B counts each visitor once, in the version they were given, and it waits until the test has the visitors it planned for. A Fathom event count can miss visitors whose browser blocks Fathom, and it has no rule for when a difference is more than luck. Use Fathom to see what else changed, such as which pages visitors went to next. For the rule behind the answer, read How to tell a real difference from luck.
Privacy stays the way you chose it
Fathom says on its own site that it is cookieless. The Pickbook A/B script sets no cookies either. It keeps a random visitor ID in the browser's local storage, and under EU rules that can need consent. So it has a consent mode, and a mode that keeps nothing in browser storage. Read Cookieless A/B testing and Does A/B testing need cookie consent? for the details. Pickbook A/B keeps your tests and your visitors' data in a database in the European Union.
Check your traffic first
Your Fathom dashboard already shows how many visitors a page gets in a month. Enter that number in What can I test with my traffic? to see which tests can finish within 60 days, before you set one up. Your first test on Pickbook A/B is free, one per website, and you don't need a card. If you use Plausible or Umami instead, read A/B testing with Plausible or A/B testing with Umami. To compare more tools, read Privacy-friendly A/B testing tools compared.
Questions
Does Fathom have A/B testing built in?
No. Fathom's help centre does not list an A/B testing feature, and it says that a feature missing from its website and help centre does not exist (checked on 29 November 2026). Fathom counts visits and events, so you need a separate tool to split visitors and pick a winner. Pickbook A/B does that and can send each visitor's version to Fathom.
Do I need cookies to use this with Fathom?
No. Fathom says it is cookieless, and the Pickbook A/B script sets no cookies. It keeps a random visitor ID in the browser's local storage, which can need consent under EU rules, so it also has a consent mode and a mode that keeps nothing in browser storage.
Will the version show in my Fathom reports?
Yes, once you add data-analytics="fathom" to the script tag. Each version appears as an event named pickbook_version: test = version, cut to 100 characters, because Fathom events have no properties.
Which tool decides the winner, Fathom or Pickbook A/B?
Pickbook A/B decides. It counts each visitor once in the version they were given and gives its answer when the test has the visitors it planned for. Fathom only shows the version events, and it reads nothing back from Pickbook A/B.
Sources
- Creating and using events, Fathom Analytics help, checked on 29 November 2026.
- Does Fathom have “X” feature?, Fathom Analytics help, checked on 29 November 2026.
- Cookieless analytics, Fathom Analytics, checked on 29 November 2026.