Module: instrumentation/eventLogging

Methods

(static) isEnabled(user, config, window) → {boolean}

Gets whether EventLogging logging is enabled for the duration of the user's session. If wgPopupsEventLogging is false this will return false unless debug=true has been enabled. However, if the UA doesn't support the Beacon API, then bucketing is disabled.

Parameters:
Name Type Description
user mw.user

The mw.user singleton instance

config mw.Map

The mw.config singleton instance

window Window
Source:
Returns:
Type
boolean