";
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", "cd27624b-ebc8-47e0-a7c4-197e2d442831");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "cd27624b-ebc8-47e0-a7c4-197e2d442831");
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":"aa07feb42557d7be54990c1eeda2bfe4:90336f52ff3bb062a75ee2d9654e204fb2d8c50f64c93b6f81f3fd190373fb81eb546b6370d304ca94fdb8d6423524cae9903a60f81443edea0e2e87d91a9987a6541ebb7f3146f00b3d0399442f16a8d661e8661524f643706e50a48109226f3145ed175e71b5e3ca82cf9023eb1a9d3fd8d684f60498a66e8b6e8a709bbc3d819fb369bbd175cfe7a7dc1c1130d406625ec7b4e185","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4OWJmZjM0MS1hOTkxLTQ0NjQtYWM5Mi01NjllNjhlOTYzYzAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.aZ5dLwDIhuVOItF856AphYgjFnvDoxi0LuMiDuupTlM"}});
melidata("add", "user", {"uid":"89bff341-a991-4464-ac92-569e68e963c0","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":"89bff341-a991-4464-ac92-569e68e963c0-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"18ba3b78-08df-4730-bbcb-998ad6e53490","x-d2id":"89bff341-a991-4464-ac92-569e68e963c0"},"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");