Skip to content

Commit 03e0eac

Browse files
committed
Updated GA codes
1 parent 36af271 commit 03e0eac

File tree

6 files changed

+74
-5
lines changed

6 files changed

+74
-5
lines changed

embed.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,15 @@
9090

9191
}());
9292

93-
</script>
93+
</script>
94+
<script>
95+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
96+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
97+
Date();a=s.createElement(o),
98+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
99+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
100+
101+
ga('create', 'UA-46933211-3', 'auto');
102+
ga('send', 'pageview');
103+
104+
</script>

embed_demo.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,17 @@ <h1 id="stream-name"></h1>
5959
}());
6060

6161
</script>
62-
</html>
62+
63+
<script>
64+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
65+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
66+
Date();a=s.createElement(o),
67+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
68+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
69+
70+
ga('create', 'UA-46933211-3', 'auto');
71+
ga('send', 'pageview');
72+
73+
</script>
74+
75+
</html>

minivid.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,16 @@
110110
</script>
111111
<script src="js/modalEffects.js"></script>
112112
<script src="js/classie.js"></script>
113+
<script>
114+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
115+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
116+
Date();a=s.createElement(o),
117+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
118+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
113119

120+
ga('create', 'UA-46933211-3', 'auto');
121+
ga('send', 'pageview');
114122

115-
</html>
123+
</script>
124+
125+
</html>

minivid2.html

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@
99
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.3.0/css/font-awesome.min.css" />
1010
<script src="js/modernizr.custom.js"></script>
1111
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
12-
12+
<style>
13+
#vid-box{
14+
display: inline-block;
15+
text-align:center;
16+
width:100%;
17+
}
18+
#vid-box video{
19+
width:47%;
20+
}
21+
</style>
1322
</head>
1423
<body>
1524
<div class = "bodyDiv">
@@ -157,6 +166,19 @@
157166
}
158167

159168
</script>
169+
170+
<script>
171+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
172+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
173+
Date();a=s.createElement(o),
174+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
175+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
176+
177+
ga('create', 'UA-46933211-3', 'auto');
178+
ga('send', 'pageview');
179+
180+
</script>
181+
160182
</div>
161183
</body>
162184
</html>

stream.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,19 @@
188188
}
189189

190190
</script>
191+
192+
<script>
193+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
194+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new
195+
Date();a=s.createElement(o),
196+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
197+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
198+
199+
ga('create', 'UA-46933211-3', 'auto');
200+
ga('send', 'pageview');
201+
202+
</script>
203+
191204
</div>
192205
</body>
193206
</html>

stylesheets/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,4 +433,4 @@ perspective effects (not including the modals and the overlay).
433433
-webkit-transform: scale3d(1.2, 1.2, 1);
434434
transform: scale3d(1.2, 1.2, 1);
435435
}
436-
}
436+
}

0 commit comments

Comments
 (0)