";
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.12/melidata.min.js');
melidata("add", "id", "a7f6aca3-1646-45dc-8e0a-d6af442b6250");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a7f6aca3-1646-45dc-8e0a-d6af442b6250");
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":"795e16a09592c2825d3da384311958e9:15d1413a13979fff57600b6f681ef9632aa26a5019ae2ce9f734e4dae6bbff2ef7d87011dd5d15292fcb237084ae07a1a16016bd1a2c9ceb549261af3fa783b5f2022eba591e030854167cc16803ce6f0e6c9359078423400f17103ae92151377574bfd16f831f99f3100a07b673e2fe36ab4512e1cad8630a699bf270d12022c9db3adbb12da6e6c6c55261520aa7102eed19628b","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxZDVhMjRjOC0xYzQxLTRkZTEtOTIzMi04OTc5NzQ4NGFhYWYiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.JwlGGiAKcloN3nzi1McmsJkRw9FxoMIYbSuIjJRz57M"}});
melidata("add", "user", {"uid":"1d5a24c8-1c41-4de1-9232-89797484aaaf","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":"1d5a24c8-1c41-4de1-9232-89797484aaaf-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"19ada07f-363a-4913-a658-60ea1ed30162","x-d2id":"1d5a24c8-1c41-4de1-9232-89797484aaaf"},"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");