";
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.nonce = 'Thr8nEw+7cADqJC9BXYV8g==';
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.12/melidata.min.js');
melidata("add", "id", "bb9bb7a1-94ae-4149-89d3-044349b64c2a");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "bb9bb7a1-94ae-4149-89d3-044349b64c2a");
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":"3ecf0ee8502a13dc5dc44c596315a7e8:bbd47bce2504314492cb10146a44c7a2853848ee9386e430c83b1d0009f1502d39a2f401a099252b33077c066f6809145204d66296dcf6b3938c37a4f770a8c93864bb45b6063da77f5bdef2ddc28aa681420824f30a1f83b38eae7945f0b6097ad261d3ece5465bddedb900e5407c946cf7b709e3534097e3dea3565f38da7d1a344388b01891a18e4ad59591e67a3eb9cce390c8","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzODNmNWRkYS00MTg2LTRkZTYtOWY3Ni1kMDY5MThjOWQ4ZmMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.u56Rtdh5XgkKB2ptlp5lnw9ChzVxIGCL7lBLfujmktQ"}});
melidata("add", "user", {"uid":"383f5dda-4186-4de6-9f76-d06918c9d8fc","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":"383f5dda-4186-4de6-9f76-d06918c9d8fc-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"458e1cb9-dba9-4e53-8116-72e4817a6253","x-d2id":"383f5dda-4186-4de6-9f76-d06918c9d8fc"},"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");