";
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", "a51c1495-b4e3-44dc-bd9a-b1b7d4875612");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a51c1495-b4e3-44dc-bd9a-b1b7d4875612");
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":"40739d50533edb41aadf80f207e118a6:62a171e42f4f639ddd01cd49be6237d81d7c355e342f2d54c422d184bbb0872e07d808979b7975fe21ade1dd00d80f01320cd092ec655d9670fdb65689a4b8f14008d989948b06f7e57745700311fe46bba647273265f01f06b982b529c230dfcae2089d9e92212c78dde6b1d0b0a7a932d0c9e03544d6a1c2071bb5180a99afdc42a738ab86978766a2b4dc8716b9b97c64d94140","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI0ZjE4MTdlOC0zMWFiLTQzYTktYWI2NC05M2Q0ZmVlZTM3M2EiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.xhwBPFga2egPdW0-G_gJXR6AxVxxJ0_SFeXFKnYbyB0"}});
melidata("add", "user", {"uid":"4f1817e8-31ab-43a9-ab64-93d4feee373a","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":"4f1817e8-31ab-43a9-ab64-93d4feee373a-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"35b228ac-9e44-44cd-9475-8426afec1be2","x-d2id":"4f1817e8-31ab-43a9-ab64-93d4feee373a"},"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");