";
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 = 'x74vrQWRHgp7L3TvfABLPQ==';
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", "2084ce41-cc7e-48fe-8a4c-579835abc083");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "2084ce41-cc7e-48fe-8a4c-579835abc083");
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":"421133984e211b21c7bf9ce337916cce:15c87091d9cb28652c12632dc7d96a435be7d314c486b9878fed9e891cd5d20dbb801e85ec874089a94434a2c9f0b7067164167d0a1e4df5831d99c8b4680c2f6209693f90ee55fe0d70f725019f81d0136597395231a4809a9c46e7a00f53a9a7a62c95421d8ecbc9fe878f929f4ef3cebccf3a6c40baf462192920f6a75f6eccf13e521e40cec7e0ddb5101d3afa21315905a558","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkYWQ1MDU0OS0wODAwLTRiOTQtODk4Yi02MWViZWY4MTQ5ZWMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.bXnldoc-W0LQxI_0fzxcgM3E838E2j2lsxIZcL2xWzM"}});
melidata("add", "user", {"uid":"dad50549-0800-4b94-898b-61ebef8149ec","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":"dad50549-0800-4b94-898b-61ebef8149ec-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"7f921378-223a-4669-8609-87df1f28ce74","x-d2id":"dad50549-0800-4b94-898b-61ebef8149ec"},"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");