";
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", "d30d2dda-d095-4afe-a31a-6ec2ca05131a");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "d30d2dda-d095-4afe-a31a-6ec2ca05131a");
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":"af5e547aa7e0b8a16d81eb8af4f7964c:9152b51e820862d49f2e526df1d1502d7e26164cf5ca611f1d2a52a67c44dbf12224a0c8e078a454f73d43a0c9cfe3654944c4bb8900d74119ba4f2403f8160501393305e201fff4764b2ccefdb2410304f0b20c11cca018126e090d46fd223ac654193e698b049b4930e9647a6cfaebc0e3430c72c006155edd4a12ca329d77ac28e88754493e70e701993f5dbe9894bf43bd7df2","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIwOTE1NjExYi02ZGY2LTQxNmMtODk2Mi0yNTNkYjc4OTZkYmQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.E4hg_csoXFLRrBuVA_W5baqEpCKw0omPSsaXJqwv-rY"}});
melidata("add", "user", {"uid":"0915611b-6df6-416c-8962-253db7896dbd","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":"0915611b-6df6-416c-8962-253db7896dbd-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"661706ab-1d36-4232-8855-412080de2b3e","x-d2id":"0915611b-6df6-416c-8962-253db7896dbd"},"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");