";
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.11/melidata.min.js');
melidata("add", "id", "4db27238-91e7-42cb-b64d-bc8f534993e9");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "4db27238-91e7-42cb-b64d-bc8f534993e9");
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":"d477e4fb7135e202cb91f6b505506faf:592314499c7b87fa588864deb6e830c6eff555aeca92d6c8cc7ea9301bfbe50b2504368550488198f349658f74c72626f287ce40fda612ef8edfd9e94826a0f33ff1121731c53ce65c9eeae863afec1134a8e7883545d5785dce8dba60c8ba3aa645784eeb0c2c476dbb0a755837cc631dd99b8bc085d5318490b09b4779d443f83bc1df3aa4bbbe2fba561532123824a3afb633a4","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzMzAwY2E2ZS1kMDExLTQ4MjQtYmRiZC03ODZlYWNhYjRiOTAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.laEUPspHpRcb1rNS5rv734vTY4I3X-5-cGJSzv7TA8o"}});
melidata("add", "user", {"uid":"3300ca6e-d011-4824-bdbd-786eacab4b90","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":"3300ca6e-d011-4824-bdbd-786eacab4b90-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"8424cae1-6be2-4555-95b0-9bc934f6eb00","x-d2id":"3300ca6e-d011-4824-bdbd-786eacab4b90"},"http_url":"https://www.elreyferretero.com/navigation/addresses-hub","http_referer":"https://www.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");