";
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", "d235ba9c-5ff0-45b1-bc42-db99902e15cf");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "d235ba9c-5ff0-45b1-bc42-db99902e15cf");
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":"cc57c1e733f1138f5a389218b2abd5f2:cc0963c64dbef6f295c4aa9735ea4d02981ea3dd362e8c8966f8bc7d4802b7dd750f03324074a01db6e290adc1fee2f78ab0bc63d3f246816d18bea8e5b8308956064ee4755c6a74d19e444f6124081d9fad6afee57fcc5ca31eb4f661d2c81e9d75fb41a05de0e06c03447e3393fdd464678ed394646b77b8d85ec0a70b32561a3d9b1b2f8bc9a6c4d636f0ef29393fc595791f7d","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1MDE5YzRlZC0xOGQ3LTQ5NjItOWJiOS0zMzRjNzcxMTVkMGQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.xCyJbOeQXt2mJ-eEiHGvnYMKOW4ygsmi8L8LGvL7Nnw"}});
melidata("add", "user", {"uid":"5019c4ed-18d7-4962-9bb9-334c77115d0d","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":"5019c4ed-18d7-4962-9bb9-334c77115d0d-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"282ec0d4-c311-4ee7-9669-b0ac147e116d","x-d2id":"5019c4ed-18d7-4962-9bb9-334c77115d0d"},"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");