";
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", "050c63e3-9939-4873-ba6a-07aeb9b5a2c9");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "050c63e3-9939-4873-ba6a-07aeb9b5a2c9");
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":"4378e40a1d43a7e5d4f134f384d3cc85:3d73ad0b8875421fea2bc60dcf7e2c791939ff9b694cc1e4d8d650baf76b3a5dc4b93ff5c5139b806ee4e77dd1fffccfc6d84575f18fddbecf9de0e455912b26f4a66115a1bc504eb3dc7b2db4c7c2e2086f138f2add5b0997ae63bf6e1e710690098a4517fbd494b4d8adfd3d9199ec93bf565bc1916e22fa11f06f5cc17610d5216e47805198ee53ab4a5aa376dff8d6920c5395d0","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2MTgzMTJkNy1lYjEzLTRmMjItYmVlYy1mNjVlMjUwZDU5MGIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.RNfTyc0jK9fuAToehN2Bcm6C9BdCUxKIFk4uX6b6_jo"}});
melidata("add", "user", {"uid":"618312d7-eb13-4f22-beec-f65e250d590b","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":"618312d7-eb13-4f22-beec-f65e250d590b-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"a1ea3f43-6775-42f6-81ba-66d2237309f8","x-d2id":"618312d7-eb13-4f22-beec-f65e250d590b"},"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");