git: c0734eeb6f - main - Add Plausible Analytics to main site and docs

Dave Cottlehuber <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by dch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=c0734eeb6fec397a75f0fcae0f42cc015c83b78a

commit c0734eeb6fec397a75f0fcae0f42cc015c83b78a
Author:     Mark Phillips <[email protected]>
AuthorDate: 2025-05-13 09:12:55 +0000
Commit:     Dave Cottlehuber <[email protected]>
CommitDate: 2025-05-13 09:13:03 +0000

    Add Plausible Analytics to main site and docs
    
    Reviewed by:    fernape, dch
    With hat:       core
    Differential Revision:  https://reviews.freebsd.org/D49757
---
 documentation/themes/beastie/layouts/partials/site-head.html | 3 +++
 website/themes/beastie/layouts/partials/site-head.html       | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/documentation/themes/beastie/layouts/partials/site-head.html b/documentation/themes/beastie/layouts/partials/site-head.html
index 26e42f1982..c531d57d9e 100644
--- a/documentation/themes/beastie/layouts/partials/site-head.html
+++ b/documentation/themes/beastie/layouts/partials/site-head.html
@@ -69,6 +69,9 @@
     </script>
     <!-- END SEO -->
 
+  <!-- privacy-friendly web statistics -->
+  <script defer data-domain="freebsd.org" src="https://plausible.io/js/script.outbound-links.js"></script>
+
   {{ end }}
 </head>
 
diff --git a/website/themes/beastie/layouts/partials/site-head.html b/website/themes/beastie/layouts/partials/site-head.html
index 51937cce07..476d144e77 100644
--- a/website/themes/beastie/layouts/partials/site-head.html
+++ b/website/themes/beastie/layouts/partials/site-head.html
@@ -29,4 +29,7 @@
   <meta property="og:site_name" content="{{ .Site.Title }}" />
   <!-- END SEO -->
 
+  <!-- privacy-friendly web statistics -->
+  <script defer data-domain="freebsd.org" src="https://plausible.io/js/script.outbound-links.js"></script>
+
 </head>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.