";
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", "1447a852-41c0-4716-bdb2-0db3f1703da5");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "1447a852-41c0-4716-bdb2-0db3f1703da5");
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":"737caf6cd5b3997a88d9a37a35a87519:006ab8b02556d78fb9794aaa8dae5216d70983241ff2c8cb1d4d4605114734132a17069e91093f707566cb57827c5964af0994b7b3e95476c589eb87afdaaa277080826408337eec49438de7d8aab5813f225a980e454429d52487d787dfb6c79b445e9e440f08d80c32b0a2ada8859a10a138134a942e6bf808e90df005467db43548fa600fc312dc12af8ec4b231cc99da901e0d","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxZmFiNzgyZC1lNTZmLTQ0YTAtYTE5MS00NTg4ZTY3ZGI3YmUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.PrEQLN2hkA9saKKwlIOwI8F_JyUPHdLnJcAtNdPqRlY"}});
melidata("add", "user", {"uid":"1fab782d-e56f-44a0-a191-4588e67db7be","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":"1fab782d-e56f-44a0-a191-4588e67db7be-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"787bf6e1-3059-4f31-8a41-eabf0545f3aa","x-d2id":"1fab782d-e56f-44a0-a191-4588e67db7be"},"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");