added goatcounter

This commit is contained in:
Philippe Loctaux 2024-12-06 16:13:20 +01:00
parent 0b843d9cc0
commit ef2a46cdc3

View file

@ -43,6 +43,12 @@ pub fn shell(title: &str, children: impl IntoAny) -> AnyView {
</footer> </footer>
</body> </body>
<script inner_html=r#"
window.goatcounter = {
path: function(p) { return location.host + p }
}
"#></script>
<script data-goatcounter="https://goatcounter.philt3r.eu/count" async src="https://goatcounter.philt3r.eu/count.js"></script>
</html> </html>
}.into_any() }.into_any()
} }