Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit ca0c398

Browse files
committed
google analytics again from scratch
1 parent 86177fb commit ca0c398

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

implementations.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@
44
<title>JSON Schema Implementations</title>
55
<link href="lib/bootstrap-min.css" rel="stylesheet">
66
<script type="text/javascript">
7+
78
var _gaq = _gaq || [];
8-
var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js';
9-
_gaq.push(['_require', 'inpage_linkid', pluginUrl]);
10-
_gaq.push(['_setAccount', 'UA-37167904-1']);
9+
_gaq.push(['_setAccount', 'UA-37169005-1']);
1110
_gaq.push(['_trackPageview']);
11+
1212
(function() {
1313
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
1414
ga.src = ('https:' == document.___location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
1515
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
1616
})();
17+
1718
</script>
1819
</head>
1920

index.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
<head>
33
<title>JSON Schema</title>
44
<link href="lib/bootstrap-min.css" rel="stylesheet">
5+
<script type="text/javascript">
6+
7+
var _gaq = _gaq || [];
8+
_gaq.push(['_setAccount', 'UA-37169005-1']);
9+
_gaq.push(['_trackPageview']);
10+
11+
(function() {
12+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
13+
ga.src = ('https:' == document.___location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
14+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
15+
})();
16+
17+
</script>
518
</head>
619
<body>
720
<div class="container">
@@ -86,18 +99,5 @@ <h2>Schemas</h2>
8699
</div>
87100
</div>
88101
</div>
89-
<script type="text/javascript">
90-
91-
var _gaq = _gaq || [];
92-
_gaq.push(['_setAccount', 'UA-37167904-2']);
93-
_gaq.push(['_trackPageview']);
94-
95-
(function() {
96-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
97-
ga.src = ('https:' == document.___location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
98-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
99-
})();
100-
101-
</script>
102102
</body>
103103
</html>

0 commit comments

Comments
 (0)