";
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", "abc867a7-df97-4c40-8e68-d0120cfea6c9");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "abc867a7-df97-4c40-8e68-d0120cfea6c9");
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":"cdf374b967585efa60982cc83757c3eb:9e946ea43f428191517fb359667b1748dad0ed1572ccfde6032806e32642c525bda5378f523658d8e22578cdf8846f1bc125d6ec2c5d17e60437e69098832ef304c0ae0ddeea88cb95e666a5015a0ad173bd05ad7477b9332492726276d0f93fdf7b90f404f6d459e1bcf0bc2540ffe8b14aaba231514fad7eb7b7ab38995ac58544e8e7494b2226be6d0116d6bf8097ede877f095","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiODBkMzliOC01MmJjLTRmODgtOGYwNi1kNDYyZmNmMzY0NTEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.ZIRCBBPOvULQF4DkJ6U72xN7TYaAOTZMXQV9_oYvS_0"}});
melidata("add", "user", {"uid":"b80d39b8-52bc-4f88-8f06-d462fcf36451","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":"b80d39b8-52bc-4f88-8f06-d462fcf36451-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"5324ff5e-63a8-4702-984f-70b23d20ed4e","x-d2id":"b80d39b8-52bc-4f88-8f06-d462fcf36451"},"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");