Skip to content

fix: fathom is not loaded properly#19

Merged
yahyafakhroji merged 2 commits intomainfrom
fix/fathom-integration
Nov 11, 2025
Merged

fix: fathom is not loaded properly#19
yahyafakhroji merged 2 commits intomainfrom
fix/fathom-integration

Conversation

@yahyafakhroji
Copy link

Summary

  • Fix Fathom Analytics integration by correcting prop naming and improving Next.js compatibility
  • Wrap analytics component in Suspense boundary to properly handle client-side navigation hooks
  • Configure Fathom client with explicit settings for better control over pageview tracking

Test plan

  • Verify Fathom Analytics loads correctly in the browser console
  • Navigate between pages and confirm pageviews are tracked accurately
  • Check that no console errors appear related to navigation hooks
  • Validate analytics events are appearing in Fathom dashboard

Ref: datum-cloud/enhancements#468

Removed dynamic FATHOM_ID environment variable usage and updated FathomAnalytics to use a hardcoded client ID. Simplified component props and improved consistency in analytics initialization.
@yahyafakhroji yahyafakhroji merged commit ad9f57d into main Nov 11, 2025
2 of 3 checks passed
@yahyafakhroji yahyafakhroji deleted the fix/fathom-integration branch November 11, 2025 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants