";
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", "85c72b65-2624-4217-86dd-9c9b16acd0f6");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "85c72b65-2624-4217-86dd-9c9b16acd0f6");
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":"58bb7cc016b3e69ae1637b0ba8acbda1:6c6a1fa0c686a0f4f34df0e742e3b14765e3952a15e699c69bd87fef40868918644d0c984f319becea0c2226fe6e8131683e51d9d79a47489f8d1b3ee02d5860a1293d4dfe31109f0956dd5ad067a4413950c384e6f05f8430b765d522fb1ac0e4d214437b0d521f2cd2b2604f4b3d4ea8131573cb02ebf5fc3b0a9cdb83426f5cdaa973ccd019c8e851fe4cf810f15bb6c88c129a","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIyZmE4OTUwNS0wZDhiLTQyNjItOTcxNy00MzZkYmJhNWJiNzkiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.xSpTlXyvOJtlRak0jcuSdEoZQ1FXpwGy2zd5sI08hwQ"}});
melidata("add", "user", {"uid":"2fa89505-0d8b-4262-9717-436dbba5bb79","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":"2fa89505-0d8b-4262-9717-436dbba5bb79-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"cc2aca06-3abd-43d2-94ed-da156d10b95a","x-d2id":"2fa89505-0d8b-4262-9717-436dbba5bb79"},"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");