";
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 = 'HQ/764ovq0yVk4E0cxn6oQ==';
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", "900a59a8-330b-4f08-8e76-e7c2f69e3c34");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "900a59a8-330b-4f08-8e76-e7c2f69e3c34");
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":"4de73082a5dd503a1b55e1be5768fddb:81b23376216e54f8bda3826e9c0a3fa3ebafd29d5370d202400a0580826da35e7ce38d5c82478675c8126aef9cb638bc00d38c7f4c5c047e6421ffe557611b363e992ccbf6d0326709957b1133a1c80c18b6bee36f3ab39308b8eb6bfe0bdb59d058f733a79d853aadd2e9df6db16c412fdf5fefd6ec8182b388539b96719bee5264af0dfc5d33548e7ef6a063f24507bfaeac8068","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3YzIyMTMxZS0yMWFkLTQ1M2QtOTA1MS05OGIyMjM2NWY4ZGQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.QucrlB7heYHhAEr83LWECqPxlME5sWNz1tFDqqaCFcI"}});
melidata("add", "user", {"uid":"7c22131e-21ad-453d-9051-98b22365f8dd","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":"7c22131e-21ad-453d-9051-98b22365f8dd-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"a9b72afb-6221-4636-b460-fa8628939702","x-d2id":"7c22131e-21ad-453d-9051-98b22365f8dd"},"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");