";
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.5.11/melidata.min.js');
melidata("add", "id", "b5564881-f543-4a1b-9f61-961b5b3c9033");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "b5564881-f543-4a1b-9f61-961b5b3c9033");
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":"2363b3e61c366a2436130fc1e5a44d6c:db8c1d58dad70edee99a1f4b4b63459eba04b0df7d0d68b30b0ba930fa2dfc5c564646e71151889c32919648558612fa756e63bb88395399a6c781e3a49b02d87adca8c71e88785cac7c2aed8317e65e7e6e53bda7d85f88702d81668541540c214df2b9558fd22b01a61854df34b6496531ba7aaad9edfc037f35fb0ffc50a81af9a044d26994e9724c015b6805c26e3e1200f45c","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI5NDljNDE2ZC0zYmQyLTRkNWMtOWNiZS0xZDA1OTUxY2MwNWMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.A_CuxFjqEVdnZOr584Lp06w73WwKXWQATmdGN9_ztRQ"}});
melidata("add", "user", {"uid":"949c416d-3bd2-4d5c-9cbe-1d05951cc05c","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":"949c416d-3bd2-4d5c-9cbe-1d05951cc05c-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"c49f541f-d6bb-4c0e-98a5-7697e913c4cf","x-d2id":"949c416d-3bd2-4d5c-9cbe-1d05951cc05c"},"http_url":"https://www.elreyferretero.com/navigation/addresses-hub","http_referer":"https://www.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");