Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions integrations/visual-tagger/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/
var integration = require('@segment/analytics.js-integration');
var TracktorLib = require('@segment/tracktor');
var when = require('do-when');

/**
* Expose `Visual Tagger` integration.
Expand All @@ -27,6 +28,8 @@ Tracktor.prototype.initialize = function() {
);
window.Tracktor = TracktorLib;

when(this.loaded, this.ready);

tracktor.start();
};

Expand Down