";
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", "1ea13d0c-bd4a-4252-92c2-755f93af6f7a");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "1ea13d0c-bd4a-4252-92c2-755f93af6f7a");
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":"a87ccc9c6cf9f39403050610be91b1da:2f7cf152774183bacac0b18207f829f452a5703ad76782969a4b6e92597e9f028e6be43a8111b5006431bebda83e0708e3c6323a5254ddf8c3483ce80587f948e3275b2da9b09ce0adf8e273eb549188f7a9535dd7379fb214bdfd4ebeaf0a3a3955e8440accd049a3ff2522cacdc215e7e51ccade1744215c0e8480465ea08ab108ca7bcd768401230296621fb3c04abe4c49d7fc1b","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJmMjIwYzZhNy00ZjJkLTRlNjMtODIwMi02OTFmZDI5MTRmZjAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.CvAGyIawyUnJTNMXNpQZhG2gmbd5f2ugj1Vkl4Yn0Xg"}});
melidata("add", "user", {"uid":"f220c6a7-4f2d-4e63-8202-691fd2914ff0","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":"f220c6a7-4f2d-4e63-8202-691fd2914ff0-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"20b71d90-909e-4763-93b2-060cced8badc","x-d2id":"f220c6a7-4f2d-4e63-8202-691fd2914ff0"},"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");