Marc Reichel

Laravel Fathom

Unofficial Laravel wrapper for the Fathom Analytics API.

Script Tag

Add the Fathom script to your <head> section:

<!DOCTYPE html>
<html>
<head>
<!-- ... -->
<x-fathom-script/>
</head>
<body>
<!-- ... -->
</body>
</html>

The script tag will be automatically rendered respecting your configuration.