Add fathom
This commit is contained in:
parent
426e3c42b5
commit
10b2075a88
2 changed files with 14 additions and 0 deletions
12
src/fathom.js
Normal file
12
src/fathom.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
(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, '//fathom.theorangeone.net/tracker.js', 'fathom');
|
||||
|
||||
fathom('set', 'siteId', 'GOWOM');
|
||||
fathom('trackPageview');
|
|
@ -19,5 +19,7 @@
|
|||
{{> accounts }}
|
||||
|
||||
<script type="text/javascript" src="../node_modules/bootstrap/js/src/index.js"></script>
|
||||
|
||||
<script type="text/javascript" src="./fathom.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Reference in a new issue