Welcome to react-fathom
Privacy-focused analytics integrations for React applications.
Add privacy-focused Fathom Analytics to React, Next.js, and React Native applications with automatic page-view tracking, typed hooks, and declarative components.
bash
npm install react-fathom fathom-clientExplore the documentation
Get started
Install react-fathom and track your first page view.
React
Use the provider, hooks, and declarative components.
Next.js
Integrate App Router or Pages Router navigation tracking.
React Native
Track navigation and app-state changes on mobile.
Router integrations
Connect React Router, Gatsby, or TanStack Router.
API reference
Browse providers, hooks, components, and native APIs.
More resources
Review the source on GitHub or learn more about Fathom Analytics.