";
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", "04f23d81-6edf-472c-9cff-4bf23404cf40");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "04f23d81-6edf-472c-9cff-4bf23404cf40");
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":"cda203b46fc75567340b3e5c6bf19a84:567ea87c7d42860c4e7321d365b5ad87429350e65ef53a769aca7d8dccb5960ffb3cc0541485e3bc2a5ed7c1f93c884dd3f07a4d24c9197a8129ee1b4f817d5f2681d99273e93c532760425d9092135e8b93d1e1ba32e577c5c3bd209bb06b241b0cd811c991d77b55cc2d850553a5d82e592d7c4ba9289699362f765d0763c5cf176e18646f9a306177f103719fa16a4e134fbf590a","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiZGJhYjA1My03OGNjLTQ0NzYtOGExNS05MmMxOTc0MGU3ZTEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.WRfJCxhi6fbuzcbAaZvQQ3SV-YWCGcMXPR4XWwsLF0E"}});
melidata("add", "user", {"uid":"bdbab053-78cc-4476-8a15-92c19740e7e1","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":"bdbab053-78cc-4476-8a15-92c19740e7e1-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"1065d083-29d0-4938-8597-51daeace6b7d","x-d2id":"bdbab053-78cc-4476-8a15-92c19740e7e1"},"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");