";
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.5.12/melidata.min.js');
melidata("add", "id", "ae9ff291-0469-42eb-8768-797e35eeab04");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "ae9ff291-0469-42eb-8768-797e35eeab04");
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":"82818811fcfa9ad8abd171553207aa42:67cd1393d75992046b5c4c931114872442d6de61c9f0ca4ae6718bb6b2d16006832622528461897f199e6c5defad5afc70c8e1fc3bb52b160fdff9abba5379d1421259b363b56640f4048ecdcd23300e85527a5424f6042cd89a67b3945e37025bf004e8f597d11db407001458fbd236b017787a490cf76c3569831b599ef6d32e7b26c1e717e11a7eeccfb23335eb7e76dadb325e4f","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkMjg5Zjg2Yi01ODJiLTRjODctYTc4NC1lYmM3ZTkxMDA4YjMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.5z7rgat2X1ola9qhWjD2y_gnRCT6fwUxoJYbjFSVEC0"}});
melidata("add", "user", {"uid":"d289f86b-582b-4c87-a784-ebc7e91008b3","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":"d289f86b-582b-4c87-a784-ebc7e91008b3-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"bccc2076-7d56-4f87-b18f-909794796602","x-d2id":"d289f86b-582b-4c87-a784-ebc7e91008b3"},"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");