Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Commit c3d1d99

Browse files
committed
Added analytics
Signed-off-by: Pete LePage <[email protected]>
1 parent 46fd2d6 commit c3d1d99

File tree

4 files changed

+22
-1
lines changed

4 files changed

+22
-1
lines changed

Docs/doc_bottom.shtml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,12 @@
2121
prettyPrint();
2222
</script>
2323

24+
<script>
25+
var _gaq=[['_setAccount','UA-29459980-1'],['_trackPageview']];
26+
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
27+
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
28+
s.parentNode.insertBefore(g,s)}(document,'script'));
29+
</script>
30+
2431
</body>
2532
</html>

Docs/errata.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,12 @@ <h1>WReader Code Lab Errata &amp; Updates</h1>
101101
prettyPrint();
102102
</script>
103103

104+
<script>
105+
var _gaq=[['_setAccount','UA-29459980-1'],['_trackPageview']];
106+
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
107+
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
108+
s.parentNode.insertBefore(g,s)}(document,'script'));
109+
</script>
110+
104111
</body>
105112
</html>

Docs/index.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,5 +1529,12 @@ <h4>Exercise 12.4b</h4>
15291529
prettyPrint();
15301530
</script>
15311531

1532+
<script>
1533+
var _gaq=[['_setAccount','UA-29459980-1'],['_trackPageview']];
1534+
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
1535+
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
1536+
s.parentNode.insertBefore(g,s)}(document,'script'));
1537+
</script>
1538+
15321539
</body>
15331540
</html>

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta http-equiv="refresh" content="0;url=http://petelepage.com/webapp-codelab/docs/">
4+
<meta http-equiv="refresh" content="0;url=/webapp-codelab/docs/">
55
</head>
66
</html>

0 commit comments

Comments
 (0)