";
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", "7de445c8-21c4-4c12-8b87-15737d2c86a0");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "7de445c8-21c4-4c12-8b87-15737d2c86a0");
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":"0782bd4460a4678f01ddfd138384870d:fddc0b0ee4f70a0e89eeeedd9e53e8ea8e76c07bfe120a4daf62ab3b164d3b9c0691b1c9e3cc6994dd9b64e269a5dea67a872a841ac69bb69c72878d9f2a0e9cf28dfaf6b3edf869cb8fdc6332cf0e2f64b9d223051638c1f6dc1b71f9e446c4f5d224faf619800598c644ee7b4e9399c08a91cdff35e57d5e74ed57f6b8a193d327e6c41efc8b57125a17c839b51708caed77bf97","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJjYWNjYTQzNy1iNDMxLTQzMTQtODEwOS0zZjUyYmZiZTczYTQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Zaxbb3GC4y39kKi25Pdojm72tBjxErC4ikGbPyH018A"}});
melidata("add", "user", {"uid":"cacca437-b431-4314-8109-3f52bfbe73a4","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":"cacca437-b431-4314-8109-3f52bfbe73a4-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"df7789cf-b1bf-484f-b046-3b5a21a367a6","x-d2id":"cacca437-b431-4314-8109-3f52bfbe73a4"},"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");