Passion for cold water bathing

 Passion for cold water bathing

This post was originally published on this site

‘).appendTo(“.node-article .field-name-body”);
}
if(document.getElementById(“cx_paywall_placeholder”)) {
document.getElementById(“cx_paywall_placeholder”).id=”sph_cdp_4″;
}

console.log(“isLdapLoginDetailsReceived “+isLdapLoginDetailsReceived+ ” isPropensityScoreReceived”+isPropensityScoreReceived);
if(isPropensityScoreReceived == true && isLdapLoginDetailsReceived == true) {
console.log(“Both propensity and login received => activating CDP”);
SPH_CDP().init(‘4′,’ https://cdp.activation.sph.com.sg’, ‘c9875acb-576c-44bb-9484-aafb59ace74c’).run();
}
}

window.addEventListener(“SPHPropensityScoreReceived”, function(evt) {
isPropensityScoreReceived = true;
console.log(“SPHPropensityScoreReceived => activating CDP”);
activateCDP();
}, false);

document.addEventListener(‘ldapLoginDetailsReceived’, function(e) {
console.log(“ldapLoginDetailsReceived => activating CDP”);
isLdapLoginDetailsReceived = true;
activateCDP();
},false);

A version of this article appeared in the print edition of The Straits Times on February 16, 2021, with the headline ‘Passion for cold water bathing’. Subscribe

Related post