";
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", "5926a778-8b36-41d7-9d7d-1dbe4cd0a9e1");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "5926a778-8b36-41d7-9d7d-1dbe4cd0a9e1");
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":"d7db7c0863e93456a583e4923fe31086:e08da09c41b73a39495996871c87a87e28cee526673609416b7318526a0f2fd328cb3a7d562872e447478706da10da45d676ed2ab5bfa1d9872d756b2f51cf7656e80e6bcd9c03dc64fd144e147f29d004ffbc6ea04ace7b026c55c103ad1c5034b3636702054f3e3539ea86d3c931f4e216901ac125f9c6fba39b761a1f3f935d583b587635e95a57bba73a0c400f5011eab7f24762","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1ZmFmNDU2ZC00ODVlLTRkZTUtOGUxNy04MWZiYWNmZmI3OTAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.oqWRx3aWopHQaK9au4V9NfXLxpaC5MhqwUOAObdDHZ4"}});
melidata("add", "user", {"uid":"5faf456d-485e-4de5-8e17-81fbacffb790","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":"5faf456d-485e-4de5-8e17-81fbacffb790-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"1035475b-9929-4347-8449-fcfd9aaf49f7","x-d2id":"5faf456d-485e-4de5-8e17-81fbacffb790"},"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");