";
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", "ae2593e7-b608-4e05-b67b-df8f7f8a0a2c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "ae2593e7-b608-4e05-b67b-df8f7f8a0a2c");
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":"040323257c52b2369757e7696054e97a:174cdf82e834acaab233cb79756a7b65771c996b33a2606d95829c29fc6882708a2785412e46e86cbc72f1910ff69195ab0141bb0afd14ae52a2ef90060f33050291743e31bac1252c071487b332af176cc2155104cf18f27c0324450132c43805e89ab634adde6927d7df20611d00922f7b0ad6ecb932e790013a8ecdbbb70482f4ef80d97361c442bef22fbae6ea140a3176e1f6","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2OGNiMzgzNC0zM2IwLTRiNGYtODg0ZS0zNDhmYWJkNTdhYjMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.zUyr8N2-meaIcLbMLUQdbEejwK9tG9N9cGRyZZ7lg20"}});
melidata("add", "user", {"uid":"68cb3834-33b0-4b4f-884e-348fabd57ab3","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":"68cb3834-33b0-4b4f-884e-348fabd57ab3-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"60cd54b2-5f85-44a8-a650-499e667aa6f6","x-d2id":"68cb3834-33b0-4b4f-884e-348fabd57ab3"},"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");