";
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", "65856042-9c74-4eb3-aaeb-e23b6f5cdb17");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "65856042-9c74-4eb3-aaeb-e23b6f5cdb17");
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":"ccfebfeebc0cebf7fe88f0d6ba1f6406:ec69bd4b35aa0e28f02eb83c91915f2dce6812bc8dc1241d8930f065f9730f137046bad7288e4959de4b21901f7a05f6bfd0d061ff260057479bbf0f4ec22d6061cdefceb4f214ea1c081f8d6ae13e1176e48df757071cafa0b5f0daa59cfa0f4dd75c648eafb0905724f6d8d921aa020c8d70342819b66d0e0696a4636dbb1f08c4adac1e3341d51d41a31af87ddc121b08b8b42d30","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJmMTY1YjgwZC02N2NmLTQ0MDktYTBkYS1kNTQxMDI4NmUyOTkiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.V89EF-4cN1deM9qTQt7nmkAnSE6XQmeBQVCWKwao8fk"}});
melidata("add", "user", {"uid":"f165b80d-67cf-4409-a0da-d5410286e299","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":"f165b80d-67cf-4409-a0da-d5410286e299-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"b495f9a1-4343-4774-9187-a621ef059d49","x-d2id":"f165b80d-67cf-4409-a0da-d5410286e299"},"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");