";
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 = 'O+QxCAY3nUfk8cCFDM7+7A==';
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", "4fda6ca3-3a7b-4bb1-88d3-3d159d937a3d");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "4fda6ca3-3a7b-4bb1-88d3-3d159d937a3d");
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":"f35c3c1886a06a55acb72d6690217d00:2993f936429243ab3c898a127faa4459011f42d4a7b698e04327d8eddf6f9392170182a28b42593c8756897f47efa21a4db3c455ee8f8178d28b7baf7241438b0a69e43261cf200b8fd65bc46f8e9c044c571eca12764370466233f40790920b887ae7f54b00e2de71aeda81ca1adf90e197e1d66796dee2655d43d00a78757ecca0f7d9597f2934cdc1410cd59d94b800b0308dc516","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4M2RiMjM1Zi0zYjM1LTRiNDMtODY3OS1hZjU3OGVlYmE1Y2UiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.mrv9_n7832l5RxwuujoBMBPvUVe31q356NF3BOo-dfE"}});
melidata("add", "user", {"uid":"83db235f-3b35-4b43-8679-af578eeba5ce","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":"83db235f-3b35-4b43-8679-af578eeba5ce-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"18976297-5743-4ee3-a836-0dc0f8e04bee","x-d2id":"83db235f-3b35-4b43-8679-af578eeba5ce"},"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");