Classes
- BOOMR
- browser
- constants
- plugins
- Akamai
- AutoXHR
- BFCache
- BW
- CACHE_RELOAD
- Clicks
- ConfigOverride
- ConsentInlinedPlugin
- Continuity
- CrossDomain
- CT
- DNS
- Early
- Errors
- EventTiming
- GUID
- History
- IFrameDelay
- IPv6
- LOGN
- Memory
- Mobile
- NavigationTiming
- PageParams
- PaintTiming
- ResourceTiming
- RT
- SPA
- TPAnalytics
- UserTiming
- session
- utils
- Compression
- BOOMR_mq
- MutationHandler
- ProxyXHRImplementation
Events
-
beacon
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired when a beacon was sent.
The beacon variables cannot be modified at this point. Any calls to
BOOMR.addVarorBOOMR.removeVarwill apply to the next beacon.Also known as
onbeacon.Properties:
Name Type Description varsobject Beacon variables
-
before_beacon
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired when a beacon is about to be sent.
The subscriber can still add variables to the beacon at this point, either by modifying the
varsparamter or callingBOOMR.addVar.Properties:
Name Type Description varsobject Beacon variables
-
before_early_beacon
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired when an early beacon is about to be sent.
The subscriber can still add variables to the early beacon at this point by calling
BOOMR.addVar.This event will only happen if
BOOMR.plugins.Earlyis enabled.Properties:
Name Type Description dataobject Event data
-
before_unload
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired before the document is about to be unloaded.
window.beforeunloadwill trigger this. -
bfcache
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired when an BFCache navigation occurs.
The subscriber can still add variables to the BFCache beacon at this point by calling
BOOMR.addVar.This event will only happen if
BOOMR.plugins.BFCacheis enabled.Properties:
Name Type Description dataobject Event data
-
click
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired when the
clickevent has happened on thedocument. -
config
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired whenever new configuration data is applied via
BOOMR.init.Also known as
onconfig.Properties:
Name Type Description dataobject Configuration data
-
dom_loaded
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired on
document.DOMContentLoaded.The
DOMContentLoadedevent is fired when the initial HTML document has been completely loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading -
error
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired whenever a page error has happened.
This event will only happen if
BOOMR.plugins.Errorsis enabled.Also known as
onerror.Properties:
Name Type Description errobject Error
-
form_submit
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired when any
FORMelement is submitted. -
netinfo
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired whenever connection information changes via the Network Information API.
This event will only happen if
BOOMR.plugins.Mobileis enabled.Properties:
Name Type Description connectionobject navigator.connection -
page_load_beacon
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired when the page load beacon has been sent.
This event should only happen once on a page. It does not apply to SPA soft navigations.
Properties:
Name Type Description varsobject Beacon variables
-
page_ready
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired when the page is usable by the user.
By default this is fired when
window.onloadfires, but if you setautorunto false when callingBOOMR.init, then you must explicitly fire this event by callingBOOMR#event:page_ready.Properties:
Name Type Argument Description eventEvent <optional>
Event triggering the page_ready
See:
-
page_unload
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired just before the browser unloads the page.
The first event of
window.pagehide,window.beforeunload, orwindow.unloadwill trigger this. -
prerender_to_visible
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired when the
visibilityStateof the document has changed fromprerendertovisible -
rage_click
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired whenever a Rage Click is detected.
This event will only happen if
BOOMR.plugins.Continuityis enabled.Properties:
Name Type Description eEvent Event
-
spa_cancel
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired whenever a SPA navigation is cancelled.
-
spa_init
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired whenever a SPA plugin is about to track a new navigation.
Properties:
Name Type Description parametersArray.<object> Navigation type (
spaorspa_hard), URL and timings -
spa_navigation
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired whenever a SPA navigation is complete.
Properties:
Name Type Description parametersArray.<object> Timings
-
visibility_changed
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired on
document.visibilitychange.The
visibilitychangeevent is fired when the content of a tab has become visible or has been hidden. -
xhr_error
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired whenever and
XMLHttpRequesthas an error (if itsstatusis set).This event will only happen if
BOOMR.plugins.AutoXHRis enabled.Also known as
onxhrerror.Properties:
Name Type Description dataobject XHR data
-
xhr_init
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired whenever
XMLHttpRequest.openis called.This event will only happen if
BOOMR.plugins.AutoXHRis enabled.Properties:
Name Type Description typestring XHR type ("xhr")
-
xhr_load
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired when an XMLHttpRequest has finished, or, if something calls
BOOMR.responseEnd.Properties:
Name Type Description dataobject Event data
-
xhr_send
-
Boomerang event, subscribe via
BOOMR.subscribe.Fired whenever
XMLHttpRequest.sendis called.This event will only happen if
BOOMR.plugins.AutoXHRis enabled.Properties:
Name Type Description xhrobject XMLHttpRequestobject -
onBeforeBoomerangBeacon
-
Public event (fired on
document), and can be subscribed viadocument.addEventListener("onBeforeBoomerangBeacon", ...)ordocument.attachEvent("onpropertychange", ...).Maps to
BOOMR#event:before_beaconProperties:
Name Type Description varsobject Beacon variables
-
onBoomerangBeacon
-
Public event (fired on
document), and can be subscribed viadocument.addEventListener("onBoomerangBeacon", ...)ordocument.attachEvent("onpropertychange", ...).Maps to
BOOMR#event:before_beaconProperties:
Name Type Description varsobject Beacon variables
-
onBoomerangLoaded
-
Public event (fired on
document), and can be subscribed viadocument.addEventListener("onBoomerangLoaded", ...)ordocument.attachEvent("onpropertychange", ...).Fired when
BOOMRhas loaded and can be used.