diff options
author | Rasmus Andersson <rasmus@notion.se> | 2017-08-28 12:36:29 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2017-08-28 12:36:29 +0300 |
commit | 4f790d0ae83d490e5b06563bc42f9bc5d633c8a9 (patch) | |
tree | ea579516603323d56630622696f72ef1328abccd /docs/index.js | |
parent | f582d7205955af3e3bdd04d37797eca1f29e613a (diff) | |
download | inter-4f790d0ae83d490e5b06563bc42f9bc5d633c8a9.tar.xz |
website
Diffstat (limited to 'docs/index.js')
-rw-r--r-- | docs/index.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/index.js b/docs/index.js new file mode 100644 index 000000000..0edda4003 --- /dev/null +++ b/docs/index.js @@ -0,0 +1,15 @@ +var isMac = false + +if (!window.MSStream && + /mac|ipad|iphone|ipod/i.test(navigator.userAgent)) +{ + isMac = true + document.body.classList = 'mac_or_ios' +} + +(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ +(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), +m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) +})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); +ga('create', 'UA-105091131-2', 'auto'); +ga('send', 'pageview'); |