";
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 = 'tWpjlHVXQoK6DmlGcyZSwA==';
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", "7f47a1a8-9bb3-4fc9-91e1-c69f8e6d6673");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "7f47a1a8-9bb3-4fc9-91e1-c69f8e6d6673");
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":"30ba2e5e7c011d042769deb2b61706d4:17db2f759241ecd1363357b9352e593fae460a734251b9027be92543ec4c926270e2c324b4de2d762210d4aa0e8e2116e84fb702f461ef8f9240a8710c332b111edabb5b6924ca1a89a480ac5cc72da9cd256f114398224f6a658d86ac6b46f733d9ebe04c2d4e8d2ef3c0e3f78f6f97efc1c1684e7ae2f44f582426e08c234e23412e82b6e1262eb63a440beccd2c015133b63d2c","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJmNGNhNTYwMC03MzczLTQ2NWQtODkxOS1lY2UyZjU2OGIzNmQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.RvnSndxS6IfUtUhwSogaaguxF6ZU6wwOwIwYSFguAtA"}});
melidata("add", "user", {"uid":"f4ca5600-7373-465d-8919-ece2f568b36d","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":"f4ca5600-7373-465d-8919-ece2f568b36d-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"ec86b9fd-8c30-4704-8505-1afa7558d5a0","x-d2id":"f4ca5600-7373-465d-8919-ece2f568b36d"},"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");