";
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.nonce = 'A4BqcvXkOak2rGEweNhAkg==';
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.12/melidata.min.js');
melidata("add", "id", "aede6349-ddce-4371-9ca3-c07b68894e36");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "aede6349-ddce-4371-9ca3-c07b68894e36");
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":"0a039c8ced89f29144d871e6a67245f2:57297c0a272cf20577395d9ca72e2b37868ae821462a7b31d13c3711eedd7f4a575a648d6b5468442fa98afb762820e3f788173b71a69e5b86df66b80b69bf483fe1264fe44e33820c6abf3519bc4f0a2f90b48a9f43c1c612d40b760582d1db48f3087f051ea1e089d34ecc3edf65b3d20dffe6ad6de6ba0498919a8e4ffbea130db860c0194ea860df8a3594f55c321f8a315f4f","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4ZGQ2ODE5My1lYzdlLTRmZWQtOGJhMC04M2JiNzExYjIwMjIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.WQvzPxUpwcmzKVzfCjGWjR8uWhQ1-NHOKCUFfwp2iE8"}});
melidata("add", "user", {"uid":"8dd68193-ec7e-4fed-8ba0-83bb711b2022","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":"8dd68193-ec7e-4fed-8ba0-83bb711b2022-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"294018cb-a08c-4351-b8e3-7575490e4e70","x-d2id":"8dd68193-ec7e-4fed-8ba0-83bb711b2022"},"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");