BOOMR.plugins. Mobile


Plugin to capture Network Information API on browsers that support it.

For information on how to include this plugin, see the Building tutorial.

Beacon Parameters

This plugin adds the following parameters to the beacon:

  • mob.ct: navigator.connection.type
  • mob.bw: navigator.connection.bandwidth
  • mob.mt: navigator.connection.metered
  • mob.etype: [navigator.connection.effectiveType] (https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/effectiveType)
  • mob.lm: [navigator.connection.downlinkMax] (https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/downlinkMax)
  • mob.dl: [`navigator.connection.downlink] (https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/downlink)
  • mob.rtt: [navigator.connection.rtt] (https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/rtt)
  • mob.sd: [navigator.connection.saveData] (https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation/saveData)