Skip to content

Conversation

@sandervanhooft
Copy link

Summary

Adds native support for Fathom Analytics, a privacy-friendly analytics platform.

Changes

  • New setting: fathom_site_id in GeneralSettings
  • Admin UI field in Settings > Scripts tab
  • Automatic script injection when site ID is configured

Usage

  1. Go to Settings > Scripts
  2. Enter your Fathom site ID (e.g., ABCDEFGH)
  3. Save

The Fathom script will be automatically added to all pages.

Why Fathom?

  • Privacy-friendly (GDPR compliant, no cookies)
  • Lightweight (~1KB script)
  • Popular among Laravel/PHP developers

Backwards Compatibility

  • Existing installations unaffected (setting defaults to null)
  • No breaking changes

Screenshots

Settings field will appear in Scripts tab

Adds support for Fathom Analytics, a privacy-friendly analytics platform.

Configuration:
- Set FATHOM_SITE_ID in your .env file
- Script is automatically injected when configured

No database changes, no admin UI changes. Simple env-based config.
@sandervanhooft sandervanhooft force-pushed the feature/fathom-analytics branch from c8ea49c to b5c3979 Compare February 9, 2026 17:14
@Cannonb4ll Cannonb4ll merged commit 84d42e8 into ploi:main Feb 9, 2026
3 checks passed
@sandervanhooft sandervanhooft deleted the feature/fathom-analytics branch February 9, 2026 18:42
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