";
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 = 'tQ1cD/IvP4nAe+8nYi0gjg==';
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", "9cedd31d-ef01-461e-a8da-9cdb195f8abb");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "9cedd31d-ef01-461e-a8da-9cdb195f8abb");
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":"807db09e8e398b886deefcdd559e2c49:60107fa635f37693da2cf4ffb1200d48be0d161d2060e7646c014de54ba87d2796c84bc1551e30dafd047932a798d6d9abc2c69eec936d20453e062e39ee65382ef539ef0949cffa41e2903fea0c07512fdd6337b8b4999f827dde82d49c682ba90a875abc161640267854456e29cc6761426c72963b87d1996ea48f2f2abd65ed6cfa054c9be532cd3f6f422f9f538249cf0e5bb4d8","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2ZGRjM2Q0OC1jNzE3LTRlZjctOGMyZi0xNTc3ZGQ2YjA2N2IiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.xC0uT_UvOWkIyFoV56rqZ2qhom6Xc4d2W3gwAs6ljpI"}});
melidata("add", "user", {"uid":"6ddc3d48-c717-4ef7-8c2f-1577dd6b067b","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":"6ddc3d48-c717-4ef7-8c2f-1577dd6b067b-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"b222c750-d2f5-452e-9cda-24df35d35706","x-d2id":"6ddc3d48-c717-4ef7-8c2f-1577dd6b067b"},"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");