Make sure plausible is loaded before code starts running

This commit is contained in:
Alessandro Pignotti 2024-10-16 13:42:59 +02:00
parent 86d4477e1c
commit e0e2fca2a0

View File

@ -29,7 +29,7 @@
<link rel='stylesheet' href='scrollbar.css'> <link rel='stylesheet' href='scrollbar.css'>
<!-- Serviceworker script that adds the COI and CORS headers to the response headers in cases where the server does not support it. --> <!-- Serviceworker script that adds the COI and CORS headers to the response headers in cases where the server does not support it. -->
<script src="serviceWorker.js"></script> <script src="serviceWorker.js"></script>
<script defer data-domain="webvm.io" src="https://plausible.leaningtech.com/js/script.js"></script> <script data-domain="webvm.io" src="https://plausible.leaningtech.com/js/script.js"></script>
%sveltekit.head% %sveltekit.head%
</head> </head>
<body data-sveltekit-preload-data="hover"> <body data-sveltekit-preload-data="hover">