feat(components): add Matomo analytics component

Add Matomo analytics tracking code to a new Blade component for easy integration across views.
This commit is contained in:
Rico van Zelst
2024-02-26 03:05:42 +01:00
parent 322755a42a
commit fdc2843f6f
2 changed files with 17 additions and 1 deletions

View File

@@ -9,7 +9,6 @@
this tells darkreader to disable on the site. -->
<meta name="darkreader-lock">
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="/img/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png">
@@ -45,6 +44,7 @@
@vite(['resources/css/app.css', 'resources/js/app.js'])
@stack('top_scripts')
<x-matomo-analytics />
</head>
<body class="antialiased bg-stone-900 dark scroll-smooth">