";
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", "0a2a7212-f875-41d3-87d0-bc6606c6b0f3");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "0a2a7212-f875-41d3-87d0-bc6606c6b0f3");
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":"e77e90aa3a11b86fc614e8cd9c415243:ba1ce038ecc61d4e6c2dfb85f8a3062857192391b43d039760a3ea9172d9883f7f579eef3484d43fb9835a290ffc5be16b221264e76bb6c2dfcdbfb964a2f5a3cf73028255fa318fd7d2fede1dec290559a1c76bde527246c7cb2baede7963dcee07e6365c9c9caa03b4392f9f34928094a36f7e11952f862e2fdb07ae82ebac0c2fb8a345b6870ed4b9a8d82e8d1e4478d4d41e33f8","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhMGQzN2M0OS0zZDcwLTRlY2EtOWQwNy01NzUwZTIxNjhkNjAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.gbd8PCnpRHC_Z5KI3TkVR_YAr8mtoSTXEoQZ9Dnr9CI"}});
melidata("add", "user", {"uid":"a0d37c49-3d70-4eca-9d07-5750e2168d60","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":"a0d37c49-3d70-4eca-9d07-5750e2168d60-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"52311f84-6f88-4769-a685-95a0d7061cbc","x-d2id":"a0d37c49-3d70-4eca-9d07-5750e2168d60"},"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");