aboutsummaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/404.astro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pages/404.astro b/src/pages/404.astro
index 09701a2..38ecfb8 100644
--- a/src/pages/404.astro
+++ b/src/pages/404.astro
@@ -7,6 +7,7 @@ import Layout from '../layouts/Default.astro'
<h2>Page not found</h2>
<h2>Whoops! You blew up the website!</h2>
</div>
+ <script>document.addEventListener('DOMContentLoaded', function () { plausible('404', { props: { path: document.location.pathname } }); });</script>
</Layout>
<style>
.error {