";
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.6.0/melidata.min.js');
melidata("add", "id", "fd9db236-7152-4315-b811-9f95dec895f4");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "fd9db236-7152-4315-b811-9f95dec895f4");
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":"cb15f87f9acb7ef66dadcc5073caee61:b061d3fa824672452bae6fe85f28c8c4c1f97c82de76d501667cfb8c259886dd27d4ccaa99827b714a74e54def77d598fe088aef3827106ac26ea8d197adc1bf61a87055c42e1621906afeed65ba271a5b0ac8972911adfc991a146585dd48b7ad296fb5c9a1bd639f37ec373518364212fc3e26e58f25c94527769236d53349b543a430f707a1b84cfcc0415c0f38720abbf01c0f2b","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxNTAzY2ExNy0zYzU0LTRjMTUtODI1NS05NDVlODk3MWExMzkiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.3Fm1Y5vQQrzIHhk770mmk6s6PT7EVCypI0xbLUB5q5I"}});
melidata("add", "user", {"uid":"1503ca17-3c54-4c15-8255-945e8971a139","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":"1503ca17-3c54-4c15-8255-945e8971a139-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"31e890cb-37c1-4997-926f-40e419fd8a04","x-d2id":"1503ca17-3c54-4c15-8255-945e8971a139"},"http_url":"https://elreyferretero.com/navigation/addresses-hub","http_referer":"https://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");