";
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", "0cac0ae4-96a9-4ebd-ae83-ca73706748ce");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "0cac0ae4-96a9-4ebd-ae83-ca73706748ce");
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":"ce8e17dabc8db49b6a430fdfd961c449:51f33ca077d52a881821761aa079e266b73506cf9cca2bd955424158ecbb5133fd902d12877f25a69ec95f42a12fe4da31150a82926232204532726b54285615105525ec73a3c0a1837d0355023b180928249861d566d3df970d2a101250175770ce21ed90e155689b5e82687a371f4a12b7d7aa292dd571513720294e3727a32febff14084f45dd0880e0d6a4fd784ca323e133d819","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxYzhkYTc5ZS03ZjFiLTRmMDItOWQzMi04NTRjZTg5ZjgzNjIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.rq3c-DFoHDRvOm2sTGJyOM7MHtteM2pPXA_ZDxxxRAc"}});
melidata("add", "user", {"uid":"1c8da79e-7f1b-4f02-9d32-854ce89f8362","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":"1c8da79e-7f1b-4f02-9d32-854ce89f8362-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"9fa28138-c210-4680-afd0-656f0efa9f4d","x-d2id":"1c8da79e-7f1b-4f02-9d32-854ce89f8362"},"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");