Sha256: 34803c90aac45147221b6b927705fff2c7912739b8016a70ce51062f75769cbb

Contents?: true

Size: 742 Bytes

Versions: 1

Compression:

Stored size: 742 Bytes

Contents

// Adroll
:javascript
  var adroll_adv_id = "#{Rails.application.config.applicants_adroll_adv_id}";
  var adroll_pix_id = "#{Rails.application.config.applicants_adroll_pix_id}";
  (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()}};
  }());

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
applicants-0.11.0 app/views/applicants/shared/javascript/_adroll.html.haml