Browse Source

Google analytics

crobi 10 years ago
parent
commit
3f64e5d5ae
5 changed files with 63 additions and 0 deletions
  1. 12
    0
      generator-next/generate.html
  2. 13
    0
      generator-next/output.html
  3. 13
    0
      generator/generate.html
  4. 13
    0
      generator/output.html
  5. 12
    0
      googleanalytics.txt

+ 12
- 0
generator-next/generate.html View File

469
         </div>
469
         </div>
470
     </div>
470
     </div>
471
 
471
 
472
+    <!-- GOOGLE ANALYTICS (only for online preview, your local version won't have this) -->
473
+    <script>
474
+        (function (i, s, o, g, r, a, m) {
475
+            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
476
+                (i[r].q = i[r].q || []).push(arguments)
477
+            }, i[r].l = 1 * new Date(); a = s.createElement(o),
478
+            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
479
+        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
480
+
481
+        ga('create', 'UA-61016456-1', 'auto');
482
+        ga('send', 'pageview');
483
+    </script>
472
 </body>
484
 </body>
473
 </html>
485
 </html>

+ 13
- 0
generator-next/output.html View File

6
     <script type="text/javascript" src="js/output.js"></script>
6
     <script type="text/javascript" src="js/output.js"></script>
7
     <!-- Components -->
7
     <!-- Components -->
8
     <link rel="import" href="components/card.html">
8
     <link rel="import" href="components/card.html">
9
+
10
+    <!-- GOOGLE ANALYTICS (only for online preview, your local version won't have this) -->
11
+    <script>
12
+        (function (i, s, o, g, r, a, m) {
13
+            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
14
+                (i[r].q = i[r].q || []).push(arguments)
15
+            }, i[r].l = 1 * new Date(); a = s.createElement(o),
16
+            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
17
+        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
18
+
19
+        ga('create', 'UA-61016456-1', 'auto');
20
+        ga('send', 'pageview');
21
+    </script>
9
 </head>
22
 </head>
10
 <body>
23
 <body>
11
 </body>
24
 </body>

+ 13
- 0
generator/generate.html View File

447
             </div>
447
             </div>
448
         </div>
448
         </div>
449
     </div>
449
     </div>
450
+
451
+    <!-- GOOGLE ANALYTICS (only for online preview, your local version won't have this) -->
452
+    <script>
453
+        (function (i, s, o, g, r, a, m) {
454
+            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
455
+                (i[r].q = i[r].q || []).push(arguments)
456
+            }, i[r].l = 1 * new Date(); a = s.createElement(o),
457
+            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
458
+        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
459
+
460
+        ga('create', 'UA-61016456-1', 'auto');
461
+        ga('send', 'pageview');
462
+    </script>
450
 </body>
463
 </body>
451
 </html>
464
 </html>

+ 13
- 0
generator/output.html View File

13
     <!-- Fonts -->
13
     <!-- Fonts -->
14
     <link href='https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
14
     <link href='https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
15
     <link href='https://fonts.googleapis.com/css?family=Lora:700' rel='stylesheet' type='text/css'>
15
     <link href='https://fonts.googleapis.com/css?family=Lora:700' rel='stylesheet' type='text/css'>
16
+
17
+    <!-- GOOGLE ANALYTICS (only for online preview, your local version won't have this) -->
18
+    <script>
19
+        (function (i, s, o, g, r, a, m) {
20
+            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
21
+                (i[r].q = i[r].q || []).push(arguments)
22
+            }, i[r].l = 1 * new Date(); a = s.createElement(o),
23
+            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
24
+        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
25
+
26
+        ga('create', 'UA-61016456-1', 'auto');
27
+        ga('send', 'pageview');
28
+    </script>
16
 </head>
29
 </head>
17
 <body class="page-background">
30
 <body class="page-background">
18
 </body>
31
 </body>

+ 12
- 0
googleanalytics.txt View File

1
+    <!-- GOOGLE ANALYTICS (only for online preview, your local version won't have this) -->
2
+    <script>
3
+        (function (i, s, o, g, r, a, m) {
4
+            i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
5
+                (i[r].q = i[r].q || []).push(arguments)
6
+            }, i[r].l = 1 * new Date(); a = s.createElement(o),
7
+            m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
8
+        })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
9
+
10
+        ga('create', 'UA-61016456-1', 'auto');
11
+        ga('send', 'pageview');
12
+    </script>

Loading…
Cancel
Save