This plugin enables cross-domain session tracking.
For information on how to include this plugin, see the Building tutorial.
Setup
The primary domain needs to host a known HTML file that will load Boomerang
and can communicate via postMessage() to other domains so session information
such as ID and length can be coordianted between all of the domains.
Beacon Parameters
This plugin adds the following parameters to the beacon:
rt.sstr_dur: Session transfer duration (ms)rt.sstr_to: The session transfer timed out (1or missing)
Methods
-
init(config)
-
Initializes the plugin.
Parameters:
Name Type Description configobject Configuration
Properties
Name Type Argument Description CrossDomain.cross_domain_urlstring <optional>
Cross domain IFRAME URL
CrossDomain.sendingboolean <optional>
Whether or not this is the parent domain
CrossDomain.session_transfer_timeoutnumber <optional>
Session transfer timeout (ms)
CrossDomain.debugboolean <optional>
Enable debugging
Returns:
BOOMR.plugins.CrossDomainThe CrossDomain plugin for chaining -
is_complete()
-
Whether or not this plugin is complete
Returns:
Type: boolean
trueif the plugin is complete