";
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", "ab6583ec-d361-4e4e-a967-51de3d5aa18e");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "ab6583ec-d361-4e4e-a967-51de3d5aa18e");
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":"3d36ecd7a29398950bd51cbd360db668:5d440682d972c61c129f25ba0afc3f00eba995c92e381e0ab5f591c84a8706bc14bb60842fa92520191ed1e9d30594a5057e86173fb0829a0a150e1b1251ffb8044d9568a7f608af7c35812952789336c70c35f01c5a2703834aab119e841c29609bdb22c57e1c333670d3d79ed2162c96e9827c69af32bb844656853201417615fc38d857599c8f9b0360ceb02887e4433a9712a0","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJmYTExZGFmYS0wMGViLTQxYWItYTEwNS0xMjUxYWFhZjQ0MzgiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.MhFXGXu5OWAwExENuKvjOlB27Yy4qu4hrxK1MuZR0Ok"}});
melidata("add", "user", {"uid":"fa11dafa-00eb-41ab-a105-1251aaaf4438","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":"fa11dafa-00eb-41ab-a105-1251aaaf4438-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"69796767-dcb2-4db0-ba7a-8015e3372b02","x-d2id":"fa11dafa-00eb-41ab-a105-1251aaaf4438"},"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");