";
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", "efd12320-d85e-44e4-b233-7e841d5a844d");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "efd12320-d85e-44e4-b233-7e841d5a844d");
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":"524083430b7d5442719fb6695091ac29:18066ee282da6e82cbfd34c5aebae29afd21408ac88bdbfbf6efdd624f40a63765188a588dfbe3e1415ace703f522f66a7d6052653c8109c590788b9171905769900e1176fb406dbc0716209ebe66427027240e3e1395967002527ff81f47f062bd8532fd15b4763fb0b2217a3ecce870a661776741dc933ce7f179b2132b8b006f3f5e26e6b69b58deccbccca41edf91d50a7aab2","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiYzk3OWRkNy1mMDIxLTQ4NjctYjZjYS1kNzdlNjZlNTZmYWEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.koJBMThvkQwObmehBWtlkMhUlEMi67ZTFRygZqMiqv4"}});
melidata("add", "user", {"uid":"bc979dd7-f021-4867-b6ca-d77e66e56faa","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":"bc979dd7-f021-4867-b6ca-d77e66e56faa-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"b9a78b99-51de-46a7-a5f4-e31e129ee9f0","x-d2id":"bc979dd7-f021-4867-b6ca-d77e66e56faa"},"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");