";
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", "c2c19f92-c43b-4adb-9d44-598be319be3d");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "c2c19f92-c43b-4adb-9d44-598be319be3d");
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":"0adf1e381a9e4802c1aa7a9ece4cd77c:4af1d11176d2be60db168012b2ddd70ad381edd7ca25c75ec9aa7e79049a5a12f304aa064e6c5f72623d6b4a90dbb25cbe3942060c7f28e56ab184acedccb382cab4f07481baee0206ffea3c1c14a01cfbeee140de2028f3a780235eb3e2b56217d30a95ba93c84447ff65c18a56300a2d1ce8cfae522747846724ba8a3aae38145f3c19d05429808d7ee95f6c6280c26196a8c2ce0e","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2ZTJmZDM1Yy1lYTEzLTQ5NzgtYjc3Zi1jNzc5YjdhNDE1OWQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.WIE1xLrfPvoyZZgdZjJk6r9NaXLqJSHIULGQ3N3hyag"}});
melidata("add", "user", {"uid":"6e2fd35c-ea13-4978-b77f-c779b7a4159d","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":"6e2fd35c-ea13-4978-b77f-c779b7a4159d-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"72a1500e-b4ae-4444-9521-73622d651e64","x-d2id":"6e2fd35c-ea13-4978-b77f-c779b7a4159d"},"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");