code: function Stats(enabled) {
    this.timer = {};
  
    if (enabled === true) {
      const config = new Configstore(pkg.name);
      let clientID = uuidv4();
      if (config.has('clientID')) {
        clientID = config.get('clientID');
      } else {
        config.set('clientID', clientID);
      }
  
      const tracker = ua(trackingID, clientID);
      tracker.set('aip', 1); // Anonymize IP
      tracker.set('an', 'frontail'); // Application Name
      tracker.set('av', pkg.version); // Application Version
      tracker.set('ds', 'app'); // Data Source
      tracker.set('cd1', process.platform); // platform
      tracker.set('cd2', process.arch); // arch
      tracker.set('cd3', process.version.match(/^v(\d+\.\d+)/)[1]); // Node version
      tracker.set('cd4', isDocker()); // is Docker
      this.tracker = tracker;
    }
  
    return this;
  }
docs: Usage stats