------------------------------------------
BIU Tag:
<script>
const rmni_params = {
container: 'cal-carousel-rmni-container',
creative: 'https://live.polaris.me/assets/cart/1cfed24e-0253-480f-8232-c631bdb53c0b'
};
const loadRMNI = () => {
const iframe = document.createElement('iframe');
iframe.style.cssText = 'background: white; width: 192px; height: 160px; border: none;';
iframe.classList.add('pol-rmni-frame');
var req = new XMLHttpRequest();
req.open('GET', rmni_params.creative, true);
req.onloadend = function () {
iframe.contentDocument.open();
iframe.contentDocument.write(req.responseText);
iframe.contentDocument.close();
iframe.contentWindow.pol_params = {
isBiu: true,
isMws: false,
isAlc: false,
baseItemId: '1900',
customBaseItemId: '16137',
trackers: {
click: '%%TTD_CLK%%',
params: {
},
}
};
}
req.send();
document.body.appendChild(iframe);
};
loadRMNI();
</script>
MWS Tag:
<script>
const rmni_params = {
container: 'cal-carousel-rmni-container',
creative: 'https://live.polaris.me/assets/cart/35a61125-fb7f-4958-a6bb-3408a7cc25c4'
};
const loadRMNI = () => {
const iframe = document.createElement('iframe');
iframe.style.cssText = 'background: white; width: 192px; height: 160px; border: none;';
iframe.classList.add('pol-rmni-frame');
var req = new XMLHttpRequest();
req.open('GET', rmni_params.creative, true);
req.onloadend = function () {
iframe.contentDocument.open();
iframe.contentDocument.write(req.responseText);
iframe.contentDocument.close();
iframe.contentWindow.pol_params = {
isBiu: false,
isMws: true,
isAlc: false,
baseItemId: '',
customBaseItemId: '16139',
trackers: {
click: '%%TTD_CLK%%',
params: {
},
}
};
}
req.send();
document.body.appendChild(iframe);
};
loadRMNI();
</script>
3
2
143KB
146KB
95.0ms
99.0ms
95.0ms