Browse Source

Add fathom tracker.

master
Syfaro 1 year ago
parent
commit
8e91458d90
1 changed files with 15 additions and 0 deletions
  1. 15
    0
      default.hbs

+ 15
- 0
default.hbs View File

@@ -19,6 +19,7 @@
19 19
 
20 20
 <!DOCTYPE html>
21 21
 <html>
22
+
22 23
 <head>
23 24
   <meta charset="utf-8" />
24 25
   <meta http-equiv="X-UA-Compatible" content="IE=edge" />
@@ -65,6 +66,20 @@
65 66
   {{ghost_foot}}
66 67
 
67 68
   <script src="{{asset 'js/main.js'}}"></script>
69
+
70
+  <script>
71
+    (function (s, y, f, a, r, o) {
72
+      y[a] = y[a] || function () {
73
+        (y[a].q = y[a].q || []).push(arguments)
74
+      };
75
+      r = s.createElement('script'),
76
+        o = s.getElementsByTagName('script')[0];
77
+      r.async = 1; r.src = f; r.id = 'fathom-script';
78
+      o.parentNode.insertBefore(r, o)
79
+    })(document, window, '//fathom.syfaro.net/tracker.js', 'fathom');
80
+
81
+    fathom('trackPageview');
82
+  </script>
68 83
 </body>
69 84
 
70 85
 </html>

Loading…
Cancel
Save