";
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.nonce = 'qu8ejTSGyijPfZZq5+hYJQ==';
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.12/melidata.min.js');
melidata("add", "id", "063d071e-adf1-446e-8481-f5c7926c9c0c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "063d071e-adf1-446e-8481-f5c7926c9c0c");
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":"404dbaafa61a2d83f9c0e4afc7ea4958:5f59885a8376f12684568582ca658e31c865b690661857a1c12029209738b20a2a382f2bd0e76564124405e9806fc9fc21b087e707c653616331b65e9d9800116512d61761da8db8526b564ecbf4443849a3a37022392bd825204ea90258eca13143480ba98e5a06d8112dcc206fd63bdd31c50269986ba1237e123e4615798b811d461390aa9c01a6457c507f7aaa0ca906e558c66a","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3YzQyOTExMS0yOGQ4LTQ2NDQtOTRmMi05NTFiMjRlMmI5YTAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.j6qTo5qDySdnPjQN8gMSEb5hBeDb9vYFn3HMHrxvBo8"}});
melidata("add", "user", {"uid":"7c429111-28d8-4644-94f2-951b24e2b9a0","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":"7c429111-28d8-4644-94f2-951b24e2b9a0-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"37c5644d-a511-4f08-af5c-7e0b4d436b8e","x-d2id":"7c429111-28d8-4644-94f2-951b24e2b9a0"},"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");