OLD | NEW |
---|---|
(Empty) | |
1 <!-- | |
2 Copyright 2014 The Chromium Authors. All rights reserved. | |
3 Use of this source code is governed by a BSD-style license that can be | |
4 found in the LICENSE file. | |
5 --> | |
6 | |
7 <script> | |
8 function Analytics(trackingId){ | |
9 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
ojan
2014/10/15 03:44:49
Maybe add a comment about where this code came fro
ghost stip (do not use)
2014/10/15 19:02:22
Done.
| |
10 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o ), | |
11 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a ,m) | |
12 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
13 | |
14 ga('create', trackingId, 'auto'); | |
15 ga('send', 'pageview'); | |
16 } | |
17 </script> | |
OLD | NEW |