update analytics

This commit is contained in:
Kevin Fishner 2015-07-28 16:09:31 -07:00
parent 7de7a406f3
commit d780524385
1 changed files with 18 additions and 0 deletions

View File

@ -32,6 +32,24 @@
ga('send', 'pageview'); ga('send', 'pageview');
</script> </script>
<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>
<%= javascript_include_tag "application" %> <%= javascript_include_tag "application" %>
</body> </body>