{"id":48355972,"url":"https://github.com/brandonpittman/remix-fathom","last_synced_at":"2026-04-05T11:05:16.897Z","repository":{"id":57688910,"uuid":"478866842","full_name":"brandonpittman/remix-fathom","owner":"brandonpittman","description":"React Hook to use Fathom in Remix.","archived":false,"fork":false,"pushed_at":"2023-01-08T14:37:02.000Z","size":377,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T22:54:08.398Z","etag":null,"topics":["fathom","fathom-analytics","hook","react","remix","remix-run","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brandonpittman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-07T07:06:36.000Z","updated_at":"2023-03-08T15:27:34.000Z","dependencies_parsed_at":"2023-02-08T06:10:12.481Z","dependency_job_id":null,"html_url":"https://github.com/brandonpittman/remix-fathom","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/brandonpittman/remix-fathom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonpittman%2Fremix-fathom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonpittman%2Fremix-fathom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonpittman%2Fremix-fathom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonpittman%2Fremix-fathom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandonpittman","download_url":"https://codeload.github.com/brandonpittman/remix-fathom/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonpittman%2Fremix-fathom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31433044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T08:13:15.228Z","status":"ssl_error","status_checked_at":"2026-04-05T08:13:11.839Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fathom","fathom-analytics","hook","react","remix","remix-run","typescript"],"created_at":"2026-04-05T11:05:12.586Z","updated_at":"2026-04-05T11:05:16.842Z","avatar_url":"https://github.com/brandonpittman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remix-fathom\n\nThis package exports the following hooks:\n\n- `useFathom(id, opts)`\n- `useGoal(code, cents)`\n\n## Setup\n\n```sh\nnpm install remix-fathom fathom-client\n```\n\n`fathom-client` is a peer dependency.\n\nThen in `app/root.tsx`, add\n\n```tsx\nimport { useFathom } from \"remix-fathom\";\n\nuseFathom(\"YOUR_SITE_ID\", myOpts);\n```\n\n## useFathom\n\nSupply your Fathom site ID and optional opts object to configure [fathom-client][]. While fathom-client is a peer dependency, the `useFathom` hook will set up loading and registering your tracked views each time the page changes.\n\n## useGoal\n\nThis hook returns you a memoized function pre-populated with your provided code and cents.\n\n---\n\nThanks to Sergio Xalambrí for the [inspiration][]!\n\n[inspiration]: https://sergiodxa.com/articles/use-fathom-with-remix\n[fathom-client]: https://www.npmjs.com/package/fathom-client\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonpittman%2Fremix-fathom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandonpittman%2Fremix-fathom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonpittman%2Fremix-fathom/lists"}