";
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", "31a8be59-1e50-43a8-b615-54cb044e22e2");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "31a8be59-1e50-43a8-b615-54cb044e22e2");
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":"88cc819cc505c2cad07916a3d5db747f:442fa59020e94ff8e2cc824b6522a38dd655c8dd605a7df9608eee62b76caa385ee9eafe51294b0b67f85bd5007a5657b8f4425fc3014c3f899972e12b7ce69e6a314ff2ffba4c5f19639800ad1ad54f99f7dfde06877a2cd1f3b5797a2a4f54990f575bf3e07c6567505a0e2bac01524c26411e7dd48b9fe13d4fda498ea0492125787be919b4b0cc3e94a40c43fbffd6e0e5179f5a","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkMWRhMzU1MS1lOWI2LTRiMzYtYjljOS0xY2QzOGIzOWI3ZGQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.yiOmCJXBaf8Qpnu9jGFhMlb79sWzb0D0QnZXdKjMjTU"}});
melidata("add", "user", {"uid":"d1da3551-e9b6-4b36-b9c9-1cd38b39b7dd","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":"d1da3551-e9b6-4b36-b9c9-1cd38b39b7dd-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"12fccc77-62ba-4a54-baed-0c621533695f","x-d2id":"d1da3551-e9b6-4b36-b9c9-1cd38b39b7dd"},"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");