";
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", "9c018eeb-48c1-46d9-a4ae-a3ea17e2d427");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "9c018eeb-48c1-46d9-a4ae-a3ea17e2d427");
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":"e4ff4e92314c307a3a101600062e13e5:dc59c5f28ec1f7ca7a23d8a89cb4047f416fce966447027ad65c0fc2e7afb6f43f527678f0b29a7b7b18be9a0240e33bdd88567daf87b2028002cfa01192f5329269917504be73647ac2d0819def3c0535ac657129b81b5aa9d3581bb2a563c9a843b37b9350555529aa948badb7ea7117c222f1dd2279f1cccb786cc220c7fc9b0e3bf21db487c9f8b647948bd2fb1b46d0fc2a176a","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIwODM1MzE1MC0zZThmLTQ4NWEtYjcwZi1iZDg3NTE0ZTY2YjciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.2Tsd1G-eAuyJOE4Mymp5bYJamRh-1g881pvE93SS8AQ"}});
melidata("add", "user", {"uid":"08353150-3e8f-485a-b70f-bd87514e66b7","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":"08353150-3e8f-485a-b70f-bd87514e66b7-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"f4aef24c-6777-40f9-ae53-95e481f5b9c2","x-d2id":"08353150-3e8f-485a-b70f-bd87514e66b7"},"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");