";
i.id = "GoogleAnalyticsIframe";
if ("MutationObserver" in win) {
new MutationObserver(function onDocumentChange() {
if (d.body) {
appendAnalytics(i, d.body.firstChild);
this.disconnect();
}
}).observe(d, { subtree: true, childList: true });
} else {
appendAnalytics(i, d.getElementsByTagName('script')[0]);
}
})(document, window);
Elige dónde recibir tus compras
";
i.id = "MelidataIframe";
d.body.appendChild(i);
var doc = i.contentWindow.document;
var script = doc.createElement('script');
script.type = 'text/javascript';
script.text ='window.inDapIF = true;';
doc.documentElement.appendChild(script);
} else {
// This page is charged async via AJAX and inserted into another one who has
// already download melidata js lib => Just clean the track
melidata("clean");
}
})(document,'https://http2.mlstatic.com/storage/melidata-js-sdk/js/3/0.5.11/melidata.min.js');
melidata("add", "id", "a6f9afd8-f519-4fa1-a61e-edca9b54ba1f");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a6f9afd8-f519-4fa1-a61e-edca9b54ba1f");
melidata("add", "application", {"version":"3.50.1","server_hostname":"","server_poolname":"","app_name":"","sdk_version":{"node_version":"6.7.1"},"business":"mercadoshops","site_id":"MLC","secured":{"encrypted":"df3c7ca43fd6c48db29bc316b70d8981:82bc5b6575d9049a505cca6ad83c4867fdbca561f61a510a936615f48f7de68d9d59c3a970242123ed4302b854622f241394cbca8dfc335e588e2f50d5585bd6b1f9fbfe3b96cc971e8c25ff7b32d5779189d1c27ecc331976a359bc8307f78fc8d3ecee5e06584c67ed9b214b2eb31c40b1855a7532e7fd606391bb8066b0e7d8eae002a629e6ed508c189ceeaf623c2060830c","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4NzFmMjg4YS04YzA4LTQ0MzgtYjUzMS0xMmE5ZGUyNjg3MDYiLCJzaXRlX2lkIjoiTUxDIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.8TFmVwE8CDUcSruoTrekJ8LfqfVYhqYvN3yksQcSuf4"}});
melidata("add", "user", {"uid":"871f288a-8c08-4438-b531-12a9de268706","user_tags":[],"privacy_consents":{"advertising":true,"traceability":true,"performance":true,"functionality":true}});
melidata("add", "device", {"platform":"/web/desktop","user_agent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"});
melidata("add", "platform", {"http":{"cookies":{"_d2id":"871f288a-8c08-4438-b531-12a9de268706-n"},"headers":{"host":"www.bestoys.cl","x-device-js":"true","x-request-id":"523a589f-4313-4d42-b496-1fd9b201b557","x-d2id":"871f288a-8c08-4438-b531-12a9de268706"},"http_url":"https://www.bestoys.cl/navigation/addresses-hub","http_referer":"https://www.bestoys.cl/gz/shipping-calculator"}});
melidata("add", "event_data", {"addresses_quantity":0,"has_errors":false,"zipcode":"","experiment6":"without_coachmark","experiment7":"without_promise"});
melidata("send", "view", {
path: "/current_location/hub",
data: {}
}, "melidata");