Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 8708694

Browse files
chore(*): add google analytics
1 parent 2ae5afc commit 8708694

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Diff for: misc/demo-template.html

+14
Original file line numberDiff line numberDiff line change
@@ -227,5 +227,19 @@ <h3 style="text-align: center;">{{buildErrorText}}</h3>
227227
<a class="btn" ng-click="buildModalShown = false">Cancel</a>
228228
</div>
229229
</div>
230+
231+
<script type="text/javascript">
232+
233+
var _gaq = _gaq || [];
234+
_gaq.push(['_setAccount', 'UA-37467169-1']);
235+
_gaq.push(['_trackPageview']);
236+
237+
(function() {
238+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
239+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
240+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
241+
})();
242+
243+
</script>
230244
</body>
231245
</html>

0 commit comments

Comments
 (0)