";
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", "950c8415-aa3a-4111-bcb5-e988e972840f");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "950c8415-aa3a-4111-bcb5-e988e972840f");
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":"38533dd60027ebfd89eb3d202e90c6ff:49bcc14d01a331eeaac10a3a9236fe83dd176c31a17b76d12d0d5f04afd63138eab46c8bfbe4c9fc8332b9f839f538de3504023d507582d00c46ad021c2a31678db5579287b3f97fe5f320f75b355e3eddc3616cc7a59188a3b7fdcfde6cf3304e7abad51259c8749c9e61283d1d0bb6996c57c0a02ab4d86fb8298e465feb2b53e85bee5d37157b7abe038f136266143ef32afdb394","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkZWNkZTA0ZS0yMDFiLTQxMWQtYjQ1OC03ZmRmMjM5ZjA1MWQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.MGdZkWEz_R392oEMRt7behCFD7xmUu3rS1vQs1vF4wA"}});
melidata("add", "user", {"uid":"decde04e-201b-411d-b458-7fdf239f051d","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":"decde04e-201b-411d-b458-7fdf239f051d-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"68677585-bfa4-408a-bb10-2ffa99436851","x-d2id":"decde04e-201b-411d-b458-7fdf239f051d"},"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");