";
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", "511227b4-4fbb-4ba7-81fe-3f24ac7fcefe");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "511227b4-4fbb-4ba7-81fe-3f24ac7fcefe");
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":"a1c13ad78285d2c565e2bb79697f6c1e:16776f235bcf1aaa2668d7c80b26d2c9e5b1227d98107eea66af10196b27e66b959e5a05ddd6400cebb8229557dbea2b4fe5033cce2919eef88e16de893bfcd9b9f571c1fc00d6a2e5dbc63dfb9f4c4b42ac88bb73315faefe7e52e93ea8c347cf088e6a2e92e1015dfe17fbe5d15236faa05cabf154bc90e73df18fbdb212d2200fc4e2ada191a73605810f27c6dd8f91eef7a0b9","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIyY2RhMmMxZC0yMjRkLTQxMmItOTE4NC1kMTg1MzUyNGEyZjMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Hr9i4jyoMc_RcWH6iF4XHCdLqh6faBkMXtwiyzjnH9I"}});
melidata("add", "user", {"uid":"2cda2c1d-224d-412b-9184-d1853524a2f3","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":"2cda2c1d-224d-412b-9184-d1853524a2f3-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"505ef3fd-67db-4420-b618-dcbb2ec8b699","x-d2id":"2cda2c1d-224d-412b-9184-d1853524a2f3"},"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");