Skip to content

Commit

Permalink
fix fathom analytics not being pinged after inertia navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed Aug 6, 2024
1 parent f68d1e6 commit e9dd93f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion resources/views/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@
@endproduction

@if (config('services.fathom.id'))
<script src="https://cdn.usefathom.com/script.js" data-site="{{ config('services.fathom.id') }}" defer></script>
<script
src="https://cdn.usefathom.com/script.js"
data-site="{{ config('services.fathom.id') }}"
data-spa="history"
defer
></script>
@endif
</head>
<body class="font-sans text-gray-900 bg-gray-200 dark:bg-gray-950 dark:text-gray-200">
Expand Down

0 comments on commit e9dd93f

Please sign in to comment.