express-fathom

Express middleware for Fathom

Usage no npm install needed!

<script type="module">
  import expressFathom from 'https://cdn.skypack.dev/express-fathom';
</script>

README

Express Middleware for Fathom Analytics

Fathom Analytics

Usage

const express = require('express');
const fathom = require('express-fathom');

const app = express();

app.use(fathom({
    server: 'http://analytics-server.io',
    siteID: 'AAAA'
}))

Options

Name Type Description
server URL Required. The URL pointing to the Fathom installation
siteID string Required. The ID specifying which site to record in Fathom