";
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", "9897877f-16d5-427b-9e48-7985cf705fbe");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "9897877f-16d5-427b-9e48-7985cf705fbe");
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":"9ad38c5e3054cd9daf32785a35686695:0f2049dc953b12bb1c338daf75b7c1a02b0e7d628c3da285765cbfb0d7d16761850da8e92a6519e07cead70c89645255080a67823b99029ea40be04b4f8402509626f5ccd6a2fc131bfde65d285e9dda8c818f8e4cff634833a5ba3a5f77867cfe55a196041faf90c541fa7f496a0103aa5b04912fec4dc545ec6fd3c1efa8fc0308434f3422ed26be580e49233645a68f2a0bf512","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJlMWVjYTEzMC1hMzBlLTQxNTMtOWZmNi01NDU4YzlkZTU1YjYiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.VCwFioOwUqOReOGmaY7BOZDWUGYN3BDNzMEyEa5CRgU"}});
melidata("add", "user", {"uid":"e1eca130-a30e-4153-9ff6-5458c9de55b6","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":"e1eca130-a30e-4153-9ff6-5458c9de55b6-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"40c2c916-dedf-4b32-9df8-bda9694fd193","x-d2id":"e1eca130-a30e-4153-9ff6-5458c9de55b6"},"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");