Skip to content

v0.3.0

Choose a tag to compare

@thomhayward thomhayward released this 18 Nov 15:21
· 3 commits to main since this release

Adds support for new events API.

// Create an event.
import { useTrackEvent } from "@tjh-dev/fathom";
const event = useTrackEvent("event name");

// Track an event.
<button onclick={() => { event({ _value: 450 }); }}>Track Me!</button>