";
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", "16aa221a-bc5d-405f-a6a1-a880cc16f099");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "16aa221a-bc5d-405f-a6a1-a880cc16f099");
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":"0aed731af0547499fb669aff6ae17dd1:d64bf108be3001159a4dddba125a27ca86623026885879a0e949be41bcb524ce95af627885a2be9968585eedb47f5b7f351e9015c2b6e50a6a1f4a3c7ebce0cab3b78da1e1e4957f8cd0ebf05fe7ceb9777046257a6ae1c326069aaf6518845178e2d82d432e722941163aab67169c37d02a70053f8b2d25dd7db0f9c8ef7005fa48f7604a64a8738cfe7cd8fb1fe506835f9fc8e9","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4ZmQzODY2MS1jOTM1LTQ2MzYtODk2Mi05MzQwZjYyNmU4YWMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.UC5HI0vRZOLgVjamBdIQeOUb_KC-oEAH2l-RbxKxJww"}});
melidata("add", "user", {"uid":"8fd38661-c935-4636-8962-9340f626e8ac","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":"8fd38661-c935-4636-8962-9340f626e8ac-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"884ba94b-2cd5-4522-8e77-889ca2230836","x-d2id":"8fd38661-c935-4636-8962-9340f626e8ac"},"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");