";
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", "156f9942-96ca-499c-90fe-6eaf072f0a0d");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "156f9942-96ca-499c-90fe-6eaf072f0a0d");
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":"48d1cf38fd68692b86145e4842df311f:d38c056c25999fb2354a34860e95aa25a385f34115ed8c17e13e04ec8c7ca67f58efdbbafcf760a3a612e3ff15a839438f849dea429b08ba6bd204826ebf5542608ad7b00814565a6a4af94303060b30b767190321b1bf7016f659dc27d890c899e1b30334ae87b401a23019ed547152f65a8ed55634f5e5f53936954c650a99bf24d988761d099092f57bd9449429ea6bb7acb7e329","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1YTdlY2EwMi05NzQzLTQxODMtOWM5MS1mODM0MjA5OTliMzciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.gRLtLlq-9XzHVh0vPJwbnVhqIKEh-jvqhf5QzSxAOI4"}});
melidata("add", "user", {"uid":"5a7eca02-9743-4183-9c91-f83420999b37","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":"5a7eca02-9743-4183-9c91-f83420999b37-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"e64f4af6-7394-4ea2-ae49-cc2df0b7919b","x-d2id":"5a7eca02-9743-4183-9c91-f83420999b37"},"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");