Skip to content
This repository was archived by the owner on Jul 15, 2026. It is now read-only.

Commit f2937b9

Browse files
authored
chore: Temporarily disable Matomo (#151)
1 parent ba3a4d5 commit f2937b9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/partials/head-scripts.hbs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{{#with site.keys.enableTracking}}
2+
<!-- Temporarily disable Matomo to not run into usage limits due to some kind of DDoS-->
3+
<!--
24
<script>
3-
<!-- Matomo -->
5+
// Matomo
46
var _paq = window._paq = window._paq || [];
57
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
68
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
@@ -15,8 +17,9 @@
1517
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
1618
g.async=true; g.src='//cdn.matomo.cloud/stackable.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
1719
})();
20+
// End Matomo Code
1821
</script>
19-
<!-- End Matomo Code -->
22+
-->
2023
{{/with}}
2124
<script>var uiRootPath = '{{{uiRootPath}}}'</script>
2225
<script src="/pagefind/pagefind-modular-ui.js"></script>

0 commit comments

Comments
 (0)