";
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", "d58d1235-91ee-416c-bacb-d5e2ee606a70");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "d58d1235-91ee-416c-bacb-d5e2ee606a70");
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":"ab2f7077401737f959b937724bcc60cb:bd5035e775434c280e510c656a1506a06dfee1d59a04824921dab13f3ded93ad8f46d7e9b84b6144994cc15fa4ac7041a9cfcb251c80e4125be399f4b0e47e894c09259ce4faa4dcc92c9daabb2362280cb13329a218ca0fa9c9587b3bdeaa7d4f841b3d8ba3fd4b6b4e02cf07d53ca8573114630a15e5313663688267aeab11fa31bca088e82b05400c8f834450db174c2935bd46","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxNjZjYjllYy05ZjE0LTQxMWQtODQ5NS1iZDkyYjZhNmJkMjQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.IeBdH982Ot3T5bfbjCngDAw3gXxfrGGsiwc_M0UGFgI"}});
melidata("add", "user", {"uid":"166cb9ec-9f14-411d-8495-bd92b6a6bd24","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":"166cb9ec-9f14-411d-8495-bd92b6a6bd24-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"478543a1-5a47-4182-811a-ce9cd672c366","x-d2id":"166cb9ec-9f14-411d-8495-bd92b6a6bd24"},"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");