Time the loader script started fetching boomerang.js (if the asynchronous loader snippet is used).
window.onloadevent fired (if using the asynchronous loader snippet).
This timestamp is logged in the case boomerang.js loads after the onload event for browsers that don't support NavigationTiming.
Timestamp the boomerang.js script started executing.
This has to be global so that we don't wait for this entire script to download and execute before measuring the time. We also declare it without
varso that we can later
deleteit. This is the only way that works on Internet Explorer.
Check the value of
document.domainand fix it if incorrect.
This function is run at the top of boomerang, and then whenever
BOOMR.initis called. If boomerang is running within an IFRAME, this function checks to see if it can access elements in the parent IFRAME. If not, it will fudge around with
document.domainuntil it finds a value that works.
This allows site owners to change the value of
document.domainat any point within their page's load process, and we will adapt to it.
Name Type Description
Domain name as retrieved from page URL