Browse Source

Use fathom to view visit stats

Bastien 9 months ago
parent
commit
eb00758dbf
1 changed files with 15 additions and 0 deletions
  1. 15 0
      preamble.html

+ 15 - 0
preamble.html

@@ -23,3 +23,18 @@
       document.location.href = orgsource;
   }
 </script>
+
+<script>
+(function(f, a, t, h, o, m){
+	a[h]=a[h]||function(){
+		(a[h].q=a[h].q||[]).push(arguments)
+	};
+	o=f.createElement('script'),
+	m=f.getElementsByTagName('script')[0];
+	o.async=1; o.src=t; o.id='fathom-script';
+	m.parentNode.insertBefore(o,m)
+})(document, window, '//stats.orgmode.org/tracker.js', 'fathom');
+fathom('set', 'siteId', 'NWSQJ');
+fathom('trackPageview');
+</script>
+