Tracking take 2
This commit is contained in:
parent
d7be4a308a
commit
f6f024c800
|
@ -79,16 +79,19 @@
|
|||
<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);
|
||||
}
|
||||
<!-- Piwik -->
|
||||
<script type="text/javascript">
|
||||
var _paq = _paq || [];
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
_paq.push(['setTrackerUrl', 'http://api-80180613f4a5602572451ebeb0091180.ubodin.sandcats.io']);
|
||||
_paq.push(['setSiteId', 1]);
|
||||
_paq.push(['setApiToken', 'EhMy6kKUxpZv2IJNNrIaYgZGEpG7c4-H_S5rp-b9jBE']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src='http://q09c9fmau0njxmjea7hh.ubodin.sandcats.io/embed.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<!-- End Piwik Code -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue