";
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", "7f8a07b2-9d43-456b-9a59-887883d2c34c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "7f8a07b2-9d43-456b-9a59-887883d2c34c");
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":"2667358a80c3554f8203ba5161c7ded1:221fef8624bb78de574c510577f26d2adbc416f156e1ea4a09c52fa6481e8c81ed177ffbf5b8bd06283c9bcaecc8d87bae880d7c888813c5956e057fe48831bcea7c5d0e341026e302b42a32771bb6ad08b6a6b09ec60d1d3e9243e6edae1206923793f4ee6bd1ab197e15006b97cea228285b937a0d73414dc45f7c03d1f890781554a8db477c9092ae1fdba18f452789f7a45af0","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1ODY5Njg2YS1iMGU0LTRjMWMtYTIwYS0xMDFkZTI5YTgyYzIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.0V-PiC1FFSUWipTNA-6WfkyChWb0vdmhFZvCgz-_kjY"}});
melidata("add", "user", {"uid":"5869686a-b0e4-4c1c-a20a-101de29a82c2","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":"5869686a-b0e4-4c1c-a20a-101de29a82c2-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"e71e2477-0572-422e-bc3d-44832501ee10","x-d2id":"5869686a-b0e4-4c1c-a20a-101de29a82c2"},"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");