";
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", "58f6f094-e2d4-4654-bbd2-556589b7b1f0");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "58f6f094-e2d4-4654-bbd2-556589b7b1f0");
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":"ed95dc9ad752a70337ba112a71f1d66f:dc85b1901088b3e6433d0fb848dd8047ad99896ecd120dcf391d286b5a641272dd4b453618aced7a2de969715793b35bb9dd86538f8b2ca25433e9cf0ac8e99abedfec5fa62cee206159ff1cbd89182932c17e90a845fc9aba631d60e04bece9625873eca0418ce82b4c3d5b4014f623435f87b82e063d6d2c20bf71ffd506ca839d36c8178018401062364f352d7f8ae21766751f","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4NGQxMjNjNy03MDU5LTQwZTYtYWUzNC04OWNlMTJhMTY5MzgiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.280uQ2fzJbpax3CL5rctOfQmoOOdU0ybgxIDkAgnFM8"}});
melidata("add", "user", {"uid":"84d123c7-7059-40e6-ae34-89ce12a16938","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":"84d123c7-7059-40e6-ae34-89ce12a16938-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"fb16fa85-f1ae-425a-ab98-d3a7f7c30f8c","x-d2id":"84d123c7-7059-40e6-ae34-89ce12a16938"},"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");