BOOMR.plugins. ConfigOverride


This plugin is responsible for allowing in-page overrides of config.js[on] for mPulse by setting a global window.BOOMR_config variable.

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

Example

BOOMR_config should be set prior to boomerang.js loading.

window.BOOMR_config = {
  instrument_xhr: true
};

Beacon Parameters

This plugin adds the following parameters to the beacon:

  • c.o: BOOMR_config was set on the page

Methods


init(config)

Initializes the plugin.

Parameters:

Name Type Description
config object

Configuration

Returns:

BOOMR.plugins.ConfigOverride The ConfigOverride plugin for chaining


is_complete()

This plugin is always complete (ready to send a beacon)

Returns:

Type: boolean

true