Skip to content

Commit

Permalink
Add GA
Browse files Browse the repository at this point in the history
  • Loading branch information
rishubil committed Jun 20, 2017
1 parent 625ea90 commit d5603ad
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 15 deletions.
49 changes: 34 additions & 15 deletions chat.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,36 @@
<html>
<head>
<meta charset="utf-8" />
<title>JSAssist Chat Widget - twitch-open-dccon</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="https://cdn.rawgit.com/rishubil/jsassist-open-dccon/master/js/jsassist.viewer_build18.js"></script>
<script src="https://cdn.rawgit.com/rishubil/jsassist-open-dccon/master/js/dccon.js"></script>
<link rel="stylesheet" href="https://cdn.rawgit.com/rishubil/jsassist-open-dccon/master/css/styles.css" type="text/css" />
</head>
<body>
<div class="chat_wrapper">
<div class="chat_container"></div>
</div>
</body>

<head>
<meta charset="utf-8" />
<title>JSAssist Chat Widget - twitch-open-dccon</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="https://cdn.rawgit.com/rishubil/jsassist-open-dccon/master/js/jsassist.viewer_build18.js"></script>
<script src="https://cdn.rawgit.com/rishubil/jsassist-open-dccon/master/js/dccon.js"></script>
<link rel="stylesheet" href="https://cdn.rawgit.com/rishubil/jsassist-open-dccon/master/css/styles.css" type="text/css" />
</head>

<body>
<div class="chat_wrapper">
<div class="chat_container"></div>
</div>
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

ga('create', 'UA-39395407-5', 'auto');
ga('send', 'pageview');
</script>
</body>

</html>
17 changes: 17 additions & 0 deletions list.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
<script src="https://cdn.rawgit.com/teampopong/hangul-jamo-js/eaca39e7/hangul-jamo.js"></script>
<script type="text/javascript">
var dcconList = [];

function getUrlParameter(sParam) {
var sPageURL = decodeURIComponent(window.location.search.substring(1)),
sURLVariables = sPageURL.split('&'),
Expand Down Expand Up @@ -371,6 +372,22 @@
});
});
</script>
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

ga('create', 'UA-39395407-5', 'auto');
ga('send', 'pageview');
</script>
</body>

</html>

0 comments on commit d5603ad

Please sign in to comment.