";
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", "5abd05e8-35d0-4c38-bf26-7c89d0703aaf");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "5abd05e8-35d0-4c38-bf26-7c89d0703aaf");
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":"8675e582715900df44743c10ac95cdea:01d74eab9c81402be9b93df451918d96a6dffa01bd6926944a8cea30ee97fef615499c521b740af6d01160e37a0ada0d6c729db2b680797050be69bf9b88919e120cf43cb5b2b70e9c685a65421f7c76105c2e9132387b500b130bf2a4de8a92ed3e5021b548cf403b94964d8653625f0b543621c10bb4e85e014c90d0d4e50a76006dcb9f1d0309364029bbc10e966ab387de90bc1a","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhMWQzNzM3OC0zMGFlLTQwN2YtYmQzZi0zNWU4YjEzYjliNGQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.X3BRflUfKPo-wuABdIYXLqBzIGlRlJpe4b1nV6tAvCY"}});
melidata("add", "user", {"uid":"a1d37378-30ae-407f-bd3f-35e8b13b9b4d","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":"a1d37378-30ae-407f-bd3f-35e8b13b9b4d-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"6a955dea-14c2-4665-b3aa-1da423a4310e","x-d2id":"a1d37378-30ae-407f-bd3f-35e8b13b9b4d"},"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");