";
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", "257167e2-e88b-40ae-a8b4-3cd2a9735668");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "257167e2-e88b-40ae-a8b4-3cd2a9735668");
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":"8684c9ab5efd346c6c21f1a4c94f3c1f:2e9781886e117cca14734a9b780db6d7db6a96695d5c2e8dfc1381eacd572ad75dc044b8ec57a1722239c403e9e3e6f705ae7a40015f088c8fa9f616a9de552e70fef9a4332534f88b6408e0661c89e6d00cb65ccf5079bbbbb6d1f423306421b0de740da03c47089b57f269ed4eab7d1a507722be9905a2c05716d97bbc61d16bdacdad971ca8e7e7ee7ebb8ac76fbf488139c405","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1NmRhMzg4Ni0wMDRiLTRhMWUtOGMyMS1kNjM4MDlkYzMzOWUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.sO8PClj8yfQN-9cV5zqp1F8LW6jfALC2s4UWgpB7Csw"}});
melidata("add", "user", {"uid":"56da3886-004b-4a1e-8c21-d63809dc339e","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":"56da3886-004b-4a1e-8c21-d63809dc339e-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"ddca374f-af42-4caa-b875-015c3b38ccf5","x-d2id":"56da3886-004b-4a1e-8c21-d63809dc339e"},"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");