";
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", "3f5228b6-760d-4460-97d3-5f04b29db7c9");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "3f5228b6-760d-4460-97d3-5f04b29db7c9");
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":"4661823f7ca4ca6c33d477a9a1fc6cfa:10b2247aefaaff620c5520b28a1269ec8aaec82af03a037d6c09e0ef0340a0cae6a374fb8b7477096aa998cc4eed3fcd6251c828f22c8312eb31f1075f92974bb21e02ede093b3999e94fd0520b5796042814727f6af61178de11a21686832c244d49ac9f313f27e8efe9e2667c08d3a0e9394079be8cbc1963fe5f298bf664289a019726d102dee861df67946887103a2eafc022b","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1OGUyNTQ3MS05N2ExLTQ1ODMtOTlhYy1jYzZkMjBiNTRjNzciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.VXtUGUTZ0vPKZ8ZGCkfzKTNMP_Gwn616cqDW8kSTEp0"}});
melidata("add", "user", {"uid":"58e25471-97a1-4583-99ac-cc6d20b54c77","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":"58e25471-97a1-4583-99ac-cc6d20b54c77-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"6db81790-1f84-4930-8531-94d4f916e65e","x-d2id":"58e25471-97a1-4583-99ac-cc6d20b54c77"},"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");