add updated analytics

This commit is contained in:
Kevin Fishner 2015-07-28 15:04:19 -07:00
parent b61f86fbae
commit 97e16aeed9
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<script type="text/javascript">
adroll_adv_id = "6QAAFJDIWBG3DJBDRJ7BEX";
adroll_pix_id = "PYT5HSNKNRDS7LMUR5B6YG";
(function () {
var oldonload = window.onload;
window.onload = function(){
__adroll_loaded=true;
var scr = document.createElement("script");
var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");
scr.setAttribute('async', 'true');
scr.type = "text/javascript";
scr.src = host + "/j/roundtrip.js";
((document.getElementsByTagName('head') || [null])[0] ||
document.getElementsByTagName('script')[0].parentNode).appendChild(scr);
if(oldonload){oldonload()}};
}());
</script>

View File

@ -71,5 +71,6 @@
</div>
</footer>
<%= partial "layouts/google-analytics.html" %>
<%= partial "layouts/adroll.html" %>
</body>
</html>