move tracking scripts into separate file

This commit is contained in:
John Sheehan
2014-12-09 15:20:51 -08:00
parent 128bc1b986
commit e480818ab4
2 changed files with 4 additions and 12 deletions
+1 -12
View File
@@ -56,18 +56,7 @@
{% include 'httpbin.1.html' %}
<script type="text/javascript">
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'gauges-tracker';
t.setAttribute('data-site-id', '4df5a7d9613f5d577c000001');
t.src = '//secure.gaug.es/track.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
</script>
{% include 'trackingscripts.html' %}
</body>
</html>
+3
View File
@@ -0,0 +1,3 @@
{#
place tracking scripts (like Google Analytics) here
#}