Sha256: 4a3d72a68e549362c362c5ea8e887471a1e1bfb6d6ef60a446d438e391bac918

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

<script>
"use strict";

!function() {
  var t = window.driftt = window.drift = window.driftt || [];
  if (!t.init) {
    if (t.invoked) return void (window.console && console.error && console.error("Drift snippet included twice."));
    t.invoked = !0, t.methods = [ "identify", "config", "track", "reset", "debug", "show", "ping", "page", "hide", "off", "on" ], 
    t.factory = function(e) {
      return function() {
        var n = Array.prototype.slice.call(arguments);
        return n.unshift(e), t.push(n), t;
      };
    }, t.methods.forEach(function(e) {
      t[e] = t.factory(e);
    }), t.load = function(t) {
      var e = 3e5, n = Math.ceil(new Date() / e) * e, o = document.createElement("script");
      o.type = "text/javascript", o.async = !0, o.crossorigin = "anonymous", o.src = "https://js.driftt.com/include/" + n + "/" + t + ".js";
      var i = document.getElementsByTagName("script")[0];
      i.parentNode.insertBefore(o, i);
    };
  }
}();
drift.SNIPPET_VERSION = '0.3.1';
drift.load('<%= options[:account_id] %>');
</script>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rack-tracker-1.13.0 lib/rack/tracker/drift/template/drift.erb
rack-tracker-1.12.1 lib/rack/tracker/drift/template/drift.erb
rack-tracker-1.12.0 lib/rack/tracker/drift/template/drift.erb
rack-tracker-1.11.2 lib/rack/tracker/drift/template/drift.erb
rack-tracker-1.11.1 lib/rack/tracker/drift/template/drift.erb