";
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.5.12/melidata.min.js');
melidata("add", "id", "abb2b34f-08f8-447e-b74b-22722f7bcf7f");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "abb2b34f-08f8-447e-b74b-22722f7bcf7f");
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":"8ff9ec8dfe1592007d8dc3b8e56212a0:b01407ad7e94ec34ebaea27a3e7f47dc896e734a94faafa5d4753c680b5d8043f4c33a1d27c17d29365d9296289d6a37312f1cd4f4147ef36e5c09a54ee6fc9577421d47bb1264bea5425e0a6b13edb1599bfbeffd2fac42617638a5ac31b868328c7f02e83ffd3e569bc177c759c71e505036fcd542fe8242714fed193e11f98ec9ef6f742c2b0ed9f1ee8af48ee69a13fcc9e1eeb2","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkM2FmNjYzNC1jMzZkLTQwYjgtYjU5ZC01ZTMyMmRhNTBlZGEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.gfB6F7VD2y37wl6sJ4WtZoP8mMcdT-H4mdLTM-cfyjM"}});
melidata("add", "user", {"uid":"d3af6634-c36d-40b8-b59d-5e322da50eda","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":"d3af6634-c36d-40b8-b59d-5e322da50eda-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"1875a43b-e174-468c-9d0a-140df445bdb8","x-d2id":"d3af6634-c36d-40b8-b59d-5e322da50eda"},"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");