";
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", "80511c9b-20f6-4278-8b73-50f889d1205b");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "80511c9b-20f6-4278-8b73-50f889d1205b");
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":"a99653e8be4172fbc6add3490e1aa60f:830758e3b989a3fe3bdbed1227ed474910fa85ad3d054e3f2bf2674f19e4c130eb492fd96b1785551cfafdd6ac2cef0b79fd92a0feb4a3877e7d1a63e5d3a3f8682c68a596c806699f62c1ab9afa91b1b6fb4bcd5e6c9f1f530698cb7a6dc78b497f6384469bf723830d2141002b51b527da482ccad23b2defccaf4b7b64e35b233c7c1ed0f18621ec44bcea6021b0dc5cbecffbdaad","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxNDhiY2ZiMC03MDUyLTQ5NzAtOGM0YS0wNTgwNGYxNmMzZWUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.vE1yMXfy-fgUfIzzJPwI2liCgsqx4AmUi7GYU6HIIz4"}});
melidata("add", "user", {"uid":"148bcfb0-7052-4970-8c4a-05804f16c3ee","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":"148bcfb0-7052-4970-8c4a-05804f16c3ee-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"1d39ac38-cf13-4e42-bd73-10cc3b178730","x-d2id":"148bcfb0-7052-4970-8c4a-05804f16c3ee"},"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");