mirror of https://github.com/embarklabs/embark.git
add Fathom Analytics JS to the site
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
00ad5321bd
commit
7088c957a8
|
@ -12,6 +12,21 @@
|
|||
{% for version in Object.keys(site.data.versions) %}'{{version}}': '{{site.data.versions[version].url}}'{% if !loop.last %},{% endif%}{% endfor %}
|
||||
};
|
||||
</script>
|
||||
|
||||
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
|
||||
<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, '//fathom.status.im/tracker.js', 'fathom');
|
||||
fathom('set', 'siteId', 'JOQKN');
|
||||
fathom('trackPageview');
|
||||
</script>
|
||||
<!-- / Fathom -->
|
||||
|
||||
<script src="/js/index.js"></script>
|
||||
|
||||
{% if config.algolia[page.lang] %}
|
||||
|
|
Loading…
Reference in New Issue