Skip to content

Commit

Permalink
chore(*): add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
pkozlowski-opensource committed Feb 18, 2013
1 parent 2ae5afc commit 8708694
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions misc/demo-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,5 +227,19 @@ <h3 style="text-align: center;">{{buildErrorText}}</h3>
<a class="btn" ng-click="buildModalShown = false">Cancel</a>
</div>
</div>

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37467169-1']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>
</body>
</html>

0 comments on commit 8708694

Please sign in to comment.