";
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 = 'j06w6zHs9tCGydrmd62ONA==';
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", "22664a38-3ed3-4679-a09b-4862ed3ddad5");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "22664a38-3ed3-4679-a09b-4862ed3ddad5");
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":"f22aba435e85138bb85966a600cf7fd1:a1d2a12903fced441a910c550673cbe36946c9d7f7d8c5f57f516492a310a63611599327ad8d983cd51c5e0fb99137359d49794dbd136fc45dcce14bec294fc00b64f894348f934e9f98bc4a5d7e40ae3a987a684cdd8e9518484c543278119e9ec08604278665f2ca8076dec4cd29e7c4db53280e6552d95c6360540d24bcb3cf4af3b0588a7285959816d9d3f4aa3c64da50e5addc","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIyMDNiNTYxNi1jMjY4LTQzNGEtYWY2ZC03MWU5NzczMzAzNjkiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.x8JsT7BMz2idmDfDTHyA17Zu5VDPXEi-3MJ6mFdyV40"}});
melidata("add", "user", {"uid":"203b5616-c268-434a-af6d-71e977330369","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":"203b5616-c268-434a-af6d-71e977330369-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"55fc60e4-6abb-4353-b866-757105b7312b","x-d2id":"203b5616-c268-434a-af6d-71e977330369"},"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");