";
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", "6b09e7fa-d0f0-4a4b-96dd-321accf59c53");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "6b09e7fa-d0f0-4a4b-96dd-321accf59c53");
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":"c793b0f4ae542b62b53cc0f988effd21:98be92f65002e73500f7c2a387682bcff759edfee7504637021e2b5d4e84c7927ae611d4782a629a781e004c094c813cad8339288eab28279eacc2ae2cc9729d251ac46d662162514306e3c108c18b8b28bea7182c120a9e6230fe5ed0671b0526072d7fe1735b37ea8dc7190c4583773b36505749205e5ad8f2e8c5c305d735931aa518663edc2b59352ac09b6cd5360de06308e5","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJmODA3ZWJiNi01ZjI5LTRiZmUtOTY1Yi02OTBkODA2MTc5YTAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.ql4kGjfTZS6aqXQe3luzPCqoVASKb3BCYGjrw7SbXA8"}});
melidata("add", "user", {"uid":"f807ebb6-5f29-4bfe-965b-690d806179a0","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":"f807ebb6-5f29-4bfe-965b-690d806179a0-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"80f35050-a9b2-4402-881f-f5aac8719148","x-d2id":"f807ebb6-5f29-4bfe-965b-690d806179a0"},"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");