";
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", "ddaa61eb-daba-4f51-ab8d-7203cb4f913e");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "ddaa61eb-daba-4f51-ab8d-7203cb4f913e");
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":"d6c925d51994a9249b27812b8902c865:55ef3d3806ec6f9a0c4bffec4f63e38a14f784dde571762314a4763ad2741ff3e2d6835f0c19038769ebf25859b69021ddd343970a3864d09bc2ac4cdff49fbcde943688b8f7a2da3ae1f20d4f67a003a60ac4827408f5b8bc364da8529cfd754579795514fcf9c226f6215c8ed4033e9d080052890ff07ea35c5e272c3502b5e7e3332c0548a3b1005f302a682055d8f2fe240748ae","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzZjJhYjk2NS0zOTY1LTRmMTUtYWZjOS03ZDBlNDUxNzg0YmYiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.GNc9qioM6_ytniLjy-_lfXxMSHOHJMJAYXqwsA7_vgc"}});
melidata("add", "user", {"uid":"3f2ab965-3965-4f15-afc9-7d0e451784bf","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":"3f2ab965-3965-4f15-afc9-7d0e451784bf-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"43b18002-0861-49ec-96af-0b62aedef400","x-d2id":"3f2ab965-3965-4f15-afc9-7d0e451784bf"},"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");