summaryrefslogtreecommitdiff
path: root/src/layouts/Layout.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/Layout.astro')
-rw-r--r--src/layouts/Layout.astro19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 93da69e..de0ef47 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -86,10 +86,23 @@ const {
)
}
+ <!-- Privacy-friendly analytics by Plausible -->
<script
- defer
- data-domain="cidr.xyz"
- src="https://track.magicmonad.com/js/script.js"></script>
+ async
+ src="https://track.magicmonad.com/js/pa-tJXTNrj3Etx6rgV9UolDn.js"></script>
+ <script is:inline>
+ window.plausible =
+ window.plausible ||
+ function () {
+ (plausible.q = plausible.q || []).push(arguments);
+ };
+ plausible.init =
+ plausible.init ||
+ function (i) {
+ plausible.o = i || {};
+ };
+ plausible.init();
+ </script>
<script
async
src={`https://www.googletagmanager.com/gtag/js?id=${GOOGLE_ANALYTICS_ID}`}