";
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", "31ffc4e8-9b35-4054-b4d9-f852161a83f4");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "31ffc4e8-9b35-4054-b4d9-f852161a83f4");
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":"05b93123dbca5ac7336e080c71764b18:668af0e35dfcf9a3bcb9c82e853f39d1f72441dc3046b52a2c191ea04e41119b4504e94def0b91afaa5410413a25d50da3dad30464923a4279e62b9d6202ef8645a864b052abe54cd27ba4fb1a5085b55dcf1c5bd620edbe2b1bb51989b94facde4b370632dc83f7beac84e336f371f789297f0fadbdc47672c59ff951049cb51382ce1f158718d163b5b83249cf01122aef14f005","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4MzYwMGU1NC00ZDViLTQ1MjAtYTlkYi1hMzMzYzdkOTg2ZDkiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.3dSg3R7okV00gshP808l0DoSrVQZg3KiqlGFdagmZLQ"}});
melidata("add", "user", {"uid":"83600e54-4d5b-4520-a9db-a333c7d986d9","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":"83600e54-4d5b-4520-a9db-a333c7d986d9-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"d136c002-6ce5-4697-ab08-20de9aadf6c4","x-d2id":"83600e54-4d5b-4520-a9db-a333c7d986d9"},"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");