Tracking.

This commit is contained in:
Oliver Kennedy 2016-12-14 18:39:15 -05:00
parent 685296f507
commit d7be4a308a

View file

@ -79,5 +79,16 @@
<script src="<%= asset_path("bootstrap")%>/js/bootstrap.min.js"></script>
<script src="<%= asset_path("mathjax")%>/MathJax.js"></script>
<script src="<%= asset_path("mathjax")%>/config/TeX-AMS_HTML-full.js"></script>
<!-- Internal Tracking -->
<script>
var xhr = new XMLHttpRequest();
if ("withCredentials" in xhr) {
xhr.open('POST', 'http://api-a0a27b832c5cdcb349c5d5ac478d7c21.ubodin.sandcats.io/t', true);
xhr.setRequestHeader('Authorization',
'Bearer sU9e9DaT7Fvq_4NetG7p9wSmMoWkMnAjIzjOTXuZCRN');
xhr.setRequestHeader('X-Sandstorm-Passthrough', 'address');
xhr.send(null);
}
</script>
</body>
</html>