";
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", "2bd08485-bb04-4e85-b7e8-d3b2da81f31c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "2bd08485-bb04-4e85-b7e8-d3b2da81f31c");
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":"aa219122917a2e63bb39901a45b2da04:4a9b968d0019a2fd016b50c8d2ddbc00fa6f953fd87457a9c3fc18e46bbcf5a4f41bf3c94a8acb840ae56ad0315b56454beaa4829a2466de0677817ceea324b43f0e5c99ada30231d00e48322c1819ffaf6cad433cf231591a5dae037c4d681cc0f7ceaad4d472d4b56a106870da38b8a38d27e669156d7d0136d610e88bb7477cb83f089d638e904c9e6940286edff281ecbd70c5","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxMGI2MzA5My00NDc3LTQ4YmYtYWUyNy02YTk5NmYwMTJmNTkiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.wXk-50_H5MIeg8hpaKppGWaP-G-Qal5Yx-AP26uqflo"}});
melidata("add", "user", {"uid":"10b63093-4477-48bf-ae27-6a996f012f59","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":"10b63093-4477-48bf-ae27-6a996f012f59-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"48582a42-e15b-423f-8e22-44b9fceb4860","x-d2id":"10b63093-4477-48bf-ae27-6a996f012f59"},"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");