";
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", "9fe519e5-d78b-4c7a-94d7-a7542e44d458");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "9fe519e5-d78b-4c7a-94d7-a7542e44d458");
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":"271b9b20c3dc2e8db23348f83b6226de:833815669dfc8d4d99b46f40fe350f04a81eab96648ea550dc3289c9a7631bef134963ea9e050817f096e9a4b3a687cd15e5a96a63c6242edd1ed583a66679bb0170ee34ff8b914a66ea8f0bed7bf6ee2d03a29eda1776e71709faa36b971463ce8eb7d5e876a8c1e7455d82b1804c250dfe5ad7ad43320497e30705c9b96b2703b992e0d623458c61385574bfa5f81d886b2e0d2256","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJlMWI0ODZlNS0wMzYyLTRiZGUtOTU1Yi0zNWVmMDY5ZGM4NmIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.uG5QiXgdb4x-xnKhTbTvKqyh5okDxJDhZZWPVy4dzDA"}});
melidata("add", "user", {"uid":"e1b486e5-0362-4bde-955b-35ef069dc86b","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":"e1b486e5-0362-4bde-955b-35ef069dc86b-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"5399d553-dd7a-4377-9eda-f824042e523f","x-d2id":"e1b486e5-0362-4bde-955b-35ef069dc86b"},"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");