";
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", "1d4738eb-17a2-46d7-a4e1-6b1070612480");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "1d4738eb-17a2-46d7-a4e1-6b1070612480");
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":"c9f018c39d8f39fc714fc06a46a23119:f43ebe7061758c0b359ec6e2c238a383f9a68e98708235a61d37ae62727fbb98c2fb0784343842347c8d4cff14552ff82a879aa3b1e8a5274121c0d46ea62202508eca7d75888544369cf2107fb02686629199a722fbd49f4088e3221a7db3b638c2dbda146edb7aeb2f09b367b4e025d05ec30c5920423dd5fa5d0f4aa6496a0786686f87cc6c2a135c126507028d6db2fbb3d283","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1MjJmODdjMS05ODQ5LTQ0MTMtYTU1Zi02MTllZDc1ZDdkYWEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.p26cbajs63va2KCNLh6W8snI-fqQeuQ45S1WtshAZ0E"}});
melidata("add", "user", {"uid":"522f87c1-9849-4413-a55f-619ed75d7daa","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":"522f87c1-9849-4413-a55f-619ed75d7daa-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"f6693bfc-6493-47bb-9bd2-180468a8e103","x-d2id":"522f87c1-9849-4413-a55f-619ed75d7daa"},"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");