";
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", "bee12c9c-5c0a-4b45-9f13-6bbd68282c7f");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "bee12c9c-5c0a-4b45-9f13-6bbd68282c7f");
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":"eb9cc6cde1f85b128e492ede52dce52c:46cfbac9d9e44e1411875bf1a830dd7557502197cbe461023b2e9b4e9de6a651bb2ed23d5fdd90e5533af9573133a071ed486c05c47e08fe7835297a758cfa930815b78374dab97ba4e6669c8e1050184bc74e17e25fc579175752232d08e7378372527cd1c1b1c5108de8184db78522303a7a01a7c40839e24adc187c2601122d920bf284d3570f262df653d4cfabbcc9468defc47d","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhMmZlN2FjNy1lOTAzLTQ3MjktYjQ2ZS0xNDc5OWYwNTRlNzgiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.IjQJLEqVcV1rbwmBwkGVN5rHBnh9JRf_ZR8elLD_WNY"}});
melidata("add", "user", {"uid":"a2fe7ac7-e903-4729-b46e-14799f054e78","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":"a2fe7ac7-e903-4729-b46e-14799f054e78-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"e96532c3-3faf-4137-947f-5a1a986ea80b","x-d2id":"a2fe7ac7-e903-4729-b46e-14799f054e78"},"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");