Skip to content

Commit

Permalink
move simple analytics before end body tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasnorre committed Nov 15, 2024
1 parent 3eea04e commit f7c4bcc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions source/_layouts/master.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
<link rel="icon" href="/favicon.ico">
<link href="/blog/feed.atom" type="application/atom+xml" rel="alternate" title="{{ $page->siteName }} Atom Feed">
<link rel="stylesheet" href="{{ mix('css/main.css', 'assets/build') }}">

<!-- 100% privacy-first analytics -->
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" referrerpolicy="no-referrer-when-downgrade" /></noscript>
</head>

<body class="flex flex-col justify-between min-h-screen bg-gray-100 text-gray-800 leading-normal font-sans">
Expand Down Expand Up @@ -73,5 +69,8 @@
<script src="{{ mix('js/main.js', 'assets/build') }}"></script>

@stack('scripts')
<!-- 100% privacy-first analytics -->
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" referrerpolicy="no-referrer-when-downgrade" /></noscript>
</body>
</html>

0 comments on commit f7c4bcc

Please sign in to comment.