";
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.6.0/melidata.min.js');
melidata("add", "id", "2c1ac3e0-bb44-4903-b527-bd627d6c3f22");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "2c1ac3e0-bb44-4903-b527-bd627d6c3f22");
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":"cc5734636b2ef7a38de5bb799ee21617:ee0e0f4d6afca53286647ace083ab28a5aec09ca2d6972c85589fdafb2401f37165d68d6e08af94b34a635bc696a0792a15317a4198c27429bc809c9640a38f55558016e36150d788faf5d98d19f272e6c7c3e11a6ee28e97597178f0e9b5e1d78902a2cab6f27cdc200c3dff793a7c5352f9b4ecc63db92552c61a203fb79eceb28a581fe4769c09781254efbd00a6cff4463fd4ab1","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJmNTU0ZDc2OS0zNjVjLTRmZDQtYmVmOS0yMDU3MWUyN2Y2NmMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.scENKdRaDI-IfBBOMhJDMLajgxoaE_jMpQDUw3KKsfk"}});
melidata("add", "user", {"uid":"f554d769-365c-4fd4-bef9-20571e27f66c","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":"f554d769-365c-4fd4-bef9-20571e27f66c-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"634a59b8-630d-44d7-a604-39b33e1d5bc9","x-d2id":"f554d769-365c-4fd4-bef9-20571e27f66c"},"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");