";
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", "173da32b-da74-4084-a44f-966f4961633e");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "173da32b-da74-4084-a44f-966f4961633e");
melidata("add", "application", {"version":"3.51.1","server_hostname":"","server_poolname":"","app_name":"","sdk_version":{"node_version":"6.7.1"},"business":"mercadoshops","site_id":"MLM","secured":{"encrypted":"7de8648b3b40a6b093df27de0a622bd1:1e08123821838bbc826ab77a19b4353ae52e1d8d4f4ada8aeaf396ad0b7a1de1a3f97c6f0c577383a085bb97837d2097babba228aeddcf84db2d86d37045d02ef884e0bca67f3d6c5c6dea8104813440b5d220492c9c77278598557b2c5d1492b69f372b9a350ac127aa7bc306216b986b85acae28e8d34d5ca783a9603053c9ccecae01a903374d8fb439bf817039700948a246ec","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxZDkyZjE3MS1hOTM2LTRkYjUtYjlmMC03MTY0OGMyNjU1NDAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.XcllfbKQV3zeU9XJMwR0iXGrPQmiaRMmEslmCDN9bMY"}});
melidata("add", "user", {"uid":"1d92f171-a936-4db5-b9f0-71648c265540","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":"1d92f171-a936-4db5-b9f0-71648c265540-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"281901d7-1a3d-48e8-9eb5-6f19923a26ca","x-d2id":"1d92f171-a936-4db5-b9f0-71648c265540"},"http_url":"https://www.elreyferretero.com/navigation/addresses-hub","http_referer":"https://www.elreyferretero.com/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");