Sha256: af1ea0eeac70cb3944654a36b4342a493dd6870c103ed2e710d11e50bf3c0dae

Contents?: true

Size: 442 Bytes

Versions: 3

Compression:

Stored size: 442 Bytes

Contents

- if Workarea.config.merchant_id.present?
  :javascript
    var ScarabQueue = ScarabQueue || [];
    (function(id) {
      if (document.getElementById(id)) return;
      var js = document.createElement('script'); js.id = id;
      js.src = '//cdn.scarabresearch.com/js/#{Workarea.config.merchant_id}/scarab-v2.js';
      var fs = document.getElementsByTagName('script')[0];
      fs.parentNode.insertBefore(js, fs);
    })('scarab-js-api');

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-emarsys-2.0.1 app/views/workarea/storefront/_emarsys_tracking.html.haml
workarea-emarsys-2.0.0 app/views/workarea/storefront/_emarsys_tracking.html.haml
workarea-emarsys-1.1.0 app/views/workarea/storefront/_emarsys_tracking.html.haml