21 lines
434 B
JavaScript
21 lines
434 B
JavaScript
window.boomerangHelper = {
|
|
init: function (config) {
|
|
if (window.BOOMR && window.BOOMR.init) {
|
|
BOOMR.init(config);
|
|
return true;
|
|
}
|
|
return false;
|
|
},
|
|
|
|
addVar: function (key, value) {
|
|
if (window.BOOMR) {
|
|
BOOMR.addVar(key, value);
|
|
}
|
|
},
|
|
|
|
sendBeacon: function () {
|
|
if (window.BOOMR) {
|
|
BOOMR.sendBeacon();
|
|
}
|
|
}
|
|
}; |