Commit
feat: Load Fathom analytics script conditionally in production
Commit details
Commit notes
Adds a useEffect hook to dynamically load the Fathom analytics script only in production environments, ensuring proper cleanup on component unmount. This replaces the static script inclusion previously removed.
- Files changed
- 1
- Lines added
- +20
- Lines removed
- −6