Skip to content

tjh-dev/fathom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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! 🎉

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published