";
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.11/melidata.min.js');
melidata("add", "id", "0ba4f982-5a04-40c3-935b-f212c9f2eccc");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "0ba4f982-5a04-40c3-935b-f212c9f2eccc");
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":"5a5cd47aca0b27859ead7aba3d3ddcfa:f69699f3e746ba337ac5d2249957fdbd4b59409b1cf12327b2aca7cd2ca49266051537fb422a5e418a78b68890b2548a50b1f31489f3cf7b5f99b5c30784e3765bba7a43dcfc3a5375d5de2f1c2c48d9c0a33f70d7d05bc36bb2c0490a08d1e482a09be6af9af6bdb73f1fcaa3f19216cb792495e471d62233738a0c87e0f99ca039d7d7c0b40680d4d629935a38154ce299e31943","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3YTMxZjA4Yi05MTU3LTQxMmMtYmQ0OS0zNTY4OGJmZWM5ZWQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.j6eI2VLVdXeN6A6XmrQZQhLCvR8efCa4o_YrcKhDu_g"}});
melidata("add", "user", {"uid":"7a31f08b-9157-412c-bd49-35688bfec9ed","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":"7a31f08b-9157-412c-bd49-35688bfec9ed-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"446f3a4c-b6e2-4f04-b83e-7b2cd8a09594","x-d2id":"7a31f08b-9157-412c-bd49-35688bfec9ed"},"http_url":"https://www.elreyferretero.com/navigation/addresses-hub","http_referer":"https://www.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");