";
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", "96e9fc42-30bf-4129-870a-f3b261c032c6");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "96e9fc42-30bf-4129-870a-f3b261c032c6");
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":"b1cb07a4efb0037b42e4b76154ff71b1:b357083d49a73dfcd5e6493a67470140affe438b21e17965cad624b6cd000196a7c994ee08ef95f2e10023456b89075120a01ecdfe907bebc85d3b98b41b18bd4c725c78b2dfac2eff8848a6ddccc88cdbe6fa03fe5c1f1616eea8889bed007b8d0008b7b60ef92a2ddb5fcfaf91d1afecf9615d33ad87e4bb4ed0962289ecb00b9186096d861500c22a7cd2df652166a2066d7f6a","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI0ZGZhYzIzOS0yMjg2LTQ1OGUtYWFhYi05ODgyNWI2MTMyYTMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.dJV8PKPFGwM_84c7OIZSC_ucU2py2Igu1ubAuWsPSg0"}});
melidata("add", "user", {"uid":"4dfac239-2286-458e-aaab-98825b6132a3","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":"4dfac239-2286-458e-aaab-98825b6132a3-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"07a11262-485c-4c78-8290-49431baf2ec8","x-d2id":"4dfac239-2286-458e-aaab-98825b6132a3"},"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");