";
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", "caebbd0f-8b26-4771-8e3b-bea3f6f887da");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "caebbd0f-8b26-4771-8e3b-bea3f6f887da");
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":"aca8ebea74fa7b4fa1f52c52f1a5b288:cb2653a81c6ad97b06891f337d0ddbad6ee11c8fe43ddd47f5178ef327391164a97eb92b7a6aa0d258ece2c78a5a811dc81a0477417407edd712feaca82883328bb9d12d9a9b58114412616dc84843d1c47d09357238874bcbaca2188ce82195d119d96562bac26052789d186d8e42990197d082f8fc581be196f2eb94ca7338d6faea05a546d5913c2cb09b660d547424a0aae718","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI0NzI0MGIxMy0yNDRhLTRiZjAtOTIyNC1mZWQ0ZTg0N2NiMTYiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.mRzTaKN2KTx4WHpnpTamOtPpAGmcmYZaXTCk0QkCJfI"}});
melidata("add", "user", {"uid":"47240b13-244a-4bf0-9224-fed4e847cb16","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":"47240b13-244a-4bf0-9224-fed4e847cb16-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"19d116a7-33ca-4cf6-b25f-5e1de256204a","x-d2id":"47240b13-244a-4bf0-9224-fed4e847cb16"},"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");