src/tracker.js
/**
   * Processes the tracker queue in case user tries to push events
   * before tracker is ready.
   */
Processes the tracker queue in case user tries to push events
before tracker is ready.
Processes the tracker queue in case user tries to push events before tracker is ready .
_processQueue(type) {
    var _wpt = window.__woo ? window.__woo[this.instanceName] : _wpt;
    _wpt = window._w ? window._w[this.instanceName] : _wpt;
    if (_wpt && _wpt._e) {
      const events = _wpt._e;
      for (let i = 0; i < events.length; i++) {
        const action = events[i];
        if (
          !isUndefined(action) &&
          this[action[0]] &&
          (isUndefined(type) || type === action[0])
        ) {
          this[action[0]].apply(this, Array.prototype.slice.call(action, 1));
        }
      }
    }
  }
_processQueue ( type ) { var _wpt = window . __woo ? window . __woo [ this . instanceName ] : _wpt ; _wpt = window . _w ? window . _w [ this . instanceName ] : _wpt ; if ( _wpt && _wpt . _e ) { const events = _wpt . _e ; for ( let i = 0 ; i < events . length ; i ++ ) { const action = events [ i ] ; if ( ! isUndefined ( action ) && this [ action [ 0 ] ] && ( isUndefined ( type ) || type === action [ 0 ] ) ) { this [ action [ 0 ] ] . apply ( this , Array . prototype . slice . call ( action , 1 ) ) ; } } } }
Processes the tracker queue in case user tries to push events
 before tracker is ready.
Processes the tracker queue in case user tries to push events before tracker is ready .
// if _wpt is undefined, means script was loaded asynchronously and // there is no queue