";
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.12/melidata.min.js');
melidata("add", "id", "2f7aaa9a-022e-4c10-b9a6-837abc74dd53");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "2f7aaa9a-022e-4c10-b9a6-837abc74dd53");
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":"178d1fe2f73fb1a8c17d6af6969421e0:a642827f09a107c104c19c0e09d73496317cda6f01c610a98b778927c38c6da97fe27a9d31b3404759f710844ee1c220703f553d60a17546eba5ae4409c4739d6f52bad542d623c9b73b4fbb8defa098b8211106088519a2342a96700e7e3c4f2983baab3e011701aafcbe259ae705806403f622fe23c4eee2f3593ff990c7f17453f78a4488d11909d9633b960fa091f445c1b42a69","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkOWU3Yjg1OS1iY2EwLTQ4M2ItOTQ2Ny02NWRiY2FjYjI1M2EiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.BNSMsHNrTCIqMlSyQyZkXpKJldXDLel9CIdkCImhRE0"}});
melidata("add", "user", {"uid":"d9e7b859-bca0-483b-9467-65dbcacb253a","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":"d9e7b859-bca0-483b-9467-65dbcacb253a-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"d490f5eb-4463-4980-9fcc-f284c8591c39","x-d2id":"d9e7b859-bca0-483b-9467-65dbcacb253a"},"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");