";
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 = 'KxA0t8UzFQ1tKxiDR+qj9Q==';
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", "a380be27-b00e-4c85-8cfc-0a2c6d085c7d");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a380be27-b00e-4c85-8cfc-0a2c6d085c7d");
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":"ed5cc5100bed7b1dc2ec21fd3babc7c2:518e396acf4d37c934df031e3aad0c57b761ae3398801c17d8807fb5db774b3a0a87fd3b345a1b52256aac41d3399840d0cdb7dfb9a9a4681f319d66b08baf3675ea2de7644dc5926aa4becbe50b6d1c1cb3528f10c64bbb52aef3b218bb97f820322aab6f49ac43d7a58c64b6b2235eb75a0dd7d5c149f85920bb5ec45a3232187fbd37efbd3f6ca467bb4b5687e54969fc36987a8b","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJmMjg2NThjOS0yMzJhLTQ0ODMtYTczOS0wYTU5NzRlZGRjYTciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.wjReV1gHcxGuxPXjtMShGDcTgH-w0_jNZzhVFsqCBg0"}});
melidata("add", "user", {"uid":"f28658c9-232a-4483-a739-0a5974eddca7","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":"f28658c9-232a-4483-a739-0a5974eddca7-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"931e4259-6f64-4bd4-8143-a4539a9014da","x-d2id":"f28658c9-232a-4483-a739-0a5974eddca7"},"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");