";
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", "3b291cac-f513-4c32-a8a0-0340e887e85b");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "3b291cac-f513-4c32-a8a0-0340e887e85b");
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":"5e91521c863b68fc60fa3bbdee7208c5:40dd32344ed045ed97cdb788b9a8ea9fe6e5b19023d60f6ea62a7058ee4cd1812b5b204a51eb8f0693116429ce277506303760135ae17ba8722cc2db154a650fe9d06424662181ee32422475beb9137112c33a19314e5d36e4fdaccea0813a81e2bc76643fcafc48163a3205c308b30ff288893c65ea9ffb6b4d28be22038ed5292c618efff77499a99bdb621782760db3179e15cb6c","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3MmI1N2UwNi1hYzEwLTRkOTktOTQwMS1lMTcyY2IyMjRhZDIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Wj2qSJ2zfLpKMxtApVvHIe6UJWlp4Ic86X4uNGE1ZNE"}});
melidata("add", "user", {"uid":"72b57e06-ac10-4d99-9401-e172cb224ad2","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":"72b57e06-ac10-4d99-9401-e172cb224ad2-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"2565e2af-bb8f-4538-a91a-915e5fda407c","x-d2id":"72b57e06-ac10-4d99-9401-e172cb224ad2"},"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");