";
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.11/melidata.min.js');
melidata("add", "id", "864c0696-ce29-48d9-b062-d3321d2e5ea5");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "864c0696-ce29-48d9-b062-d3321d2e5ea5");
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":"9fe9d0436f6324de49fc145658d91363:622bc33c2ea880c344d23046de7114f81357c1588b1ef2402009f931650fc188d2ea8c7a151e144b6540cae44bcb60fa42c2fa29492e8f9cdd83176f3ab0c01ea77ce096ca44b3242439fa45e5b92f2d54ed1995d929fefe3862e425a8fe76df89b5dc5ba5fc76b7cdf1afc7ff86fcabe7451eda1f9f2fe906e1b3dd8ee702dfd51ee51e4c9257559821858ca5d9f27b8cce373b3b2c","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI0NjMxOGFkNC0zNTY2LTQ1OTEtOWI0NS1hNjAxMzg0ZTlhYjciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.1okc6ifqrpYBNpu1nKRhI-B7SrDy35wl2_Vq6ShCVuU"}});
melidata("add", "user", {"uid":"46318ad4-3566-4591-9b45-a601384e9ab7","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":"46318ad4-3566-4591-9b45-a601384e9ab7-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"ab372d25-8984-450e-882e-d8e2832a48c5","x-d2id":"46318ad4-3566-4591-9b45-a601384e9ab7"},"http_url":"https://www.elreyferretero.com/navigation/addresses-hub","http_referer":"https://www.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");