";
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", "2046c8a4-a31a-4bc9-907c-8fe7d043017c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "2046c8a4-a31a-4bc9-907c-8fe7d043017c");
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":"25f6ec6bc2a93104756a894190b1d1a6:0edd80664ffa56f2991139c46a7402654c82ed8bc1560960d4a802cdbf1d11ea90aec7f13eb32b076e7f9e16ef7da73ade4e77cb6b2201e3749c053bffc75925d60bd6075131c5e09564aed3df4139c304e8c64629f98298331533b1cb398735003d324119e85a1981c9266da420c9648e475bde12183ca069bd651b6920e116b8adf0c95e1d03a2314498bf05106e90a1c360b1cb","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3MzczYzcyOS0zZGUxLTQxYTMtYjFjMC05ZGRmODUyZDE3NmEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.aCvX5aNlunPdZd4xMisHT7XQGhjsOkTpgUCBobDmGJA"}});
melidata("add", "user", {"uid":"7373c729-3de1-41a3-b1c0-9ddf852d176a","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":"7373c729-3de1-41a3-b1c0-9ddf852d176a-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"bf907ee2-664f-4c20-a6c8-985f497ee901","x-d2id":"7373c729-3de1-41a3-b1c0-9ddf852d176a"},"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");