diff options
Diffstat (limited to 'public/js/ga.js')
-rw-r--r-- | public/js/ga.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/public/js/ga.js b/public/js/ga.js new file mode 100644 index 00000000..0fda2410 --- /dev/null +++ b/public/js/ga.js @@ -0,0 +1,14 @@ +(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', '//www.google-analytics.com/analytics.js', 'ga'); + +ga('create', 'get your self one', 'auto'); +ga('send', 'pageview');
\ No newline at end of file |