";
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", "3c6301fa-c8fb-4a30-8d59-d62865ed9cc6");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "3c6301fa-c8fb-4a30-8d59-d62865ed9cc6");
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":"985776fe1c309cb9ddec3214081170bb:6844ca09060532356d4c8b29cfa96c7d5783a49e7d7530ccb5d081517a97c47d0ff5af2913a77ada649286aa11f88d84c0f1283019eb913f47924820a54e1584d535ca9141be0679138d40ed51e929f0806662c447d5e39aa067f1115e4216c9e5693346588d8d252fd206158eb79e50f149635690f4b0c04c3e8c76c0f49e7704112d2fcc51953ed82ff3c00f060c69f3900c47b0ad","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI5NGNkZTVkNS1iMzljLTRjNTYtODE0Yy1hYjkyMjhhMTI2YTkiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.qZF6HeIQCkg1TkD4h0KVgVvDzpf86tSAAhvMriv82Aw"}});
melidata("add", "user", {"uid":"94cde5d5-b39c-4c56-814c-ab9228a126a9","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":"94cde5d5-b39c-4c56-814c-ab9228a126a9-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"7589dd28-020e-423e-8236-4b769a25096d","x-d2id":"94cde5d5-b39c-4c56-814c-ab9228a126a9"},"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");