";
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", "a45d32e7-5520-4558-afdf-7a2540004fbc");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a45d32e7-5520-4558-afdf-7a2540004fbc");
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":"778f50ee5bd47cbbf82f38de3000d423:ad0ed3a4fc7baa46531a0e0accef76f13533fa367124aaae8d6a86651e14a1ca4085b5b14be55566d541369792ec0193b4599de8edf6f30619308937473db7cd27f8404e24ebd6b62ad7a0b3f620f7e23dad6c9c75cbc5f56bbc6e696c315a8a6881ec68953524841971b667a21ce06a21234baffbc4f25401314c880f97929903b78f01e1a640c2e5868dfd01e10b54752a0acd3a50","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiOTIxZjNmOC1kZDc5LTQyMzMtYmVmMi01ZjFjYTAzNDliMGQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.EFNHAs1_ocUxi1brjafIl1cwXtwrRJWG75qPfeLL2bo"}});
melidata("add", "user", {"uid":"b921f3f8-dd79-4233-bef2-5f1ca0349b0d","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":"b921f3f8-dd79-4233-bef2-5f1ca0349b0d-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"d4cd19ab-a465-467a-87fc-c71463535571","x-d2id":"b921f3f8-dd79-4233-bef2-5f1ca0349b0d"},"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");