";
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", "40ff77e8-784a-4b82-b6d8-c3776984a906");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "40ff77e8-784a-4b82-b6d8-c3776984a906");
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":"867c746060565bb32d9d4ccecdeb8d8c:78eccc335f74898753445ef1998067f4971dafa65e7e7b8327c021af9707b806d9ff250412e1af50b49ba68aa9a9c43d64ca214a588d3d0651cec3fb7e4c43dc12ef04df0f5da58851ac9a4dc37f179bdfdd097a6327112a5f16f64b6ab9e134df711bfecc9a270ee365ceb4e71cd340c81c39725f161089d38a369bff4474c27b160216932cc721c0162934ee2484bc1c823f0e9f84","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzMzAwY2E2ZS1kMDExLTQ4MjQtYmRiZC03ODZlYWNhYjRiOTAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.laEUPspHpRcb1rNS5rv734vTY4I3X-5-cGJSzv7TA8o"}});
melidata("add", "user", {"uid":"3300ca6e-d011-4824-bdbd-786eacab4b90","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":"3300ca6e-d011-4824-bdbd-786eacab4b90-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"82908d88-acb6-41d3-a388-a93165f450b7","x-d2id":"3300ca6e-d011-4824-bdbd-786eacab4b90"},"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");