";
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.nonce = 'jPHdhW63d9/AqKebDdvIog==';
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.12/melidata.min.js');
melidata("add", "id", "acffefbe-6562-457c-8e7c-9f1b6c2ed1f8");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "acffefbe-6562-457c-8e7c-9f1b6c2ed1f8");
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":"4b598919fc2e260eb371d0b65fd0dc1f:80097f6dab98dcdd02689e49d91719f9d44bb240655bc6f70f53d62d8a5b05c69542fd88dde1ca213f9eeb6446fb4cb6081dd62dcd3d12e1a9b090d17afdc110f07d1cdec5d6965fd525c8fd952eb802035a4060e28e606e8cf6814382e67ff75d04c6e1d914c5541b22a8a028f40970742f28765b9aa1ad7b5c8c00b688e108591c74bb264ac0b7d82420f5d2ba052ebf7411e2fb3b","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI0YjQ1ZDRkYi03ZjQwLTRjNmUtODY1MS0zYzY3ZTZlZDQzODkiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Pn0xE9vJAdzzzG_EjlimvRqXhSUWpOkQGeS1I8XIiuM"}});
melidata("add", "user", {"uid":"4b45d4db-7f40-4c6e-8651-3c67e6ed4389","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":"4b45d4db-7f40-4c6e-8651-3c67e6ed4389-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"5d165176-f9cb-4cd0-ba5a-527f8dd08822","x-d2id":"4b45d4db-7f40-4c6e-8651-3c67e6ed4389"},"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");