";
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", "ebfd48bd-67ac-4bb9-b2a4-4dcb5bb1b142");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "ebfd48bd-67ac-4bb9-b2a4-4dcb5bb1b142");
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":"979b623806d4d80a5f42cf13c6eafa03:d82bc8e42b2f07739ab7698ec60427f3d1c5d4dcd25dad4369830e7664cd03bf0d41331b5f97d0fd6752bbf7f88e5783b826a0da1ee8954fce9b7b5cd27b9ff3c5ca378d55cff545b0960568a082ad9ce95026d6f61adc786f78e434a700a4b4921d158f0f60d4ef727c06bbdcf3941dcc923c29856cc35a937babf1e0ded2bbfe8a08f78579ae52ff31598234ee3cf5dc37047ccd51","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4MDFiMzk5OC0xZGEwLTQzYWMtOWRlNS1lZmI4MDM0NDAyNTAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Dx-gS1vU9tLFzCExFBb-8l-R6HlBypcuz-avZ31IYf0"}});
melidata("add", "user", {"uid":"801b3998-1da0-43ac-9de5-efb803440250","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":"801b3998-1da0-43ac-9de5-efb803440250-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"82381661-73c5-4cbc-8015-d4d5780c4ee8","x-d2id":"801b3998-1da0-43ac-9de5-efb803440250"},"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");