@tjh-dev/fathom
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

Integrate Fathom analytics into your remix.run project

Usage

Add the tracking component to your root route.

import { Fathom } from "@tjh-dev/fathom";

export default function Root() {
  return (
    <html>
      <head>
        <Fathom site="SITE_ID" />
        <Meta />
      </head>
      <body>
        <Outlet />
        <Scripts />
      </body>
    </html>
  );
}

All done! 🎉

Readme

Keywords

none

Package Sidebar

Install

npm i @tjh-dev/fathom

Weekly Downloads

1

Version

0.3.0

License

ISC

Unpacked Size

6.72 kB

Total Files

6

Last publish

Collaborators

  • tjh-dev