";
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", "aea3614f-aedf-49d2-b9f3-e295d8be59d7");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "aea3614f-aedf-49d2-b9f3-e295d8be59d7");
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":"2a959b4d0f010fdadf49a8d4bb53af95:cc7179c49b2730bbfb4b22ae9ba5604fdd5b26842cb5daaefc1592a41f38e8f9fcc2b0ed77c6f97bfc4e40e61e66bf73f57e771674f5c72ca77a37c9104c7039713a9dfa51570bf82f2643f0ec10b1b2a95fbaf6706312170b551e4bac1054aa26a4a90be9cd134663621dcc3ed42b7f21e8612fd6991e8d9ed215388876e59f767171d9725f0bf8545e2a0a0efcdff712b7ce1d2089","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiOTJiOGI2My1iM2ZlLTRmNjktODAyMi1mYTQ4NWU1Zjg4NDMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.k9LdFGxyAmi-80rHC1OKyplbEouHvZuQh36rPA06ouM"}});
melidata("add", "user", {"uid":"b92b8b63-b3fe-4f69-8022-fa485e5f8843","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":"b92b8b63-b3fe-4f69-8022-fa485e5f8843-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"7cef370a-70ee-44a8-9bec-248aa419df8d","x-d2id":"b92b8b63-b3fe-4f69-8022-fa485e5f8843"},"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");