Site Survey
Free Courses
Skip links

Singapore firms with India operations tackling business survival, employees’ well-being


}
if(document.getElementById(“cx_paywall_placeholder”)) {
document.getElementById(“cx_paywall_placeholder”).id=”sph_cdp_4″;
}

insertNewsletterSignupCampaign();

console.log(“isLdapLoginDetailsReceived “+isLdapLoginDetailsReceived+ ” isPropensityScoreReceived”+isPropensityScoreReceived);
if(isPropensityScoreReceived == true && isLdapLoginDetailsReceived == true && sphWavePaywallInitiated==false) {
console.log(“Both propensity and login received => activating CDP”);
sphWavePaywallInitiated = true;
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);

= 740) { console.log(‘this is safari desktop’); desktopSafari = true; } } return desktopSafari; } ]]]]>]]> 7) { keywordsArea = document.querySelector(‘.field-name-body div.field-item.odd p:nth-of-type(7)’); var swDiv = document.createElement(“div”); swDiv.setAttribute(‘id’, ‘sph_cdp_’+newsletter_signup_campaign_id); var textnode = document.createTextNode(” “); swDiv.appendChild(textnode); keywordsArea.parentNode.insertBefore(swDiv, keywordsArea); //keywordsArea.parentNode.insertBefore(swDiv, keywordsArea.nextSibling); } SPH_CDP().init(newsletter_signup_campaign_id,’ https://cdp.activation.sph.com.sg’, ‘c9875acb-576c-44bb-9484-aafb59ace74c’).run(); } } ]]]]>]]>
Source

Leave a comment

X