New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new tag: Drift chat #91

Closed
tsteur opened this Issue Oct 1, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@Findus23

This comment has been minimized.

Member

Findus23 commented Oct 9, 2018

As the docs keep it a secret, this is their tracking code that you get during signup:

<!-- Start of Async Drift Code -->
<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('WHAT_I_ASSUME_IS_THE_APPID');
</script>
<!-- End of Async Drift Code -->

@Findus23 Findus23 self-assigned this Oct 9, 2018

@tsteur tsteur closed this Nov 5, 2018

@tsteur

This comment has been minimized.

Member

tsteur commented Nov 5, 2018

cheers @Findus23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment