";
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", "bdd6dffe-616e-4c47-b867-ae893701b41d");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "bdd6dffe-616e-4c47-b867-ae893701b41d");
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":"9336cc59b7e2c00e4b987129fbfe6177:363cf70633ad27c5d9267fdefcdfa3151df047cbf3e04e790adb4de6981da6d85995e85ff0c4694f2cf0c58a483dff81b3559fbb42740b5556c97b5539e0f62901b67ec728b72eeb739739f996242a5e406b136144a5ab2940d0703d27ca88a336b6df38c04c5fad08906be4e628a3150318e53eccf9e154e4096fd255c81679073441c5f11f206ac63d59a65de9bff929efc74b95ce","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkNzcyODFiNC0xYzIyLTQxNjMtYjliNC1mNjE4MzIwMzlmZTEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.ev0VVNPXECZpEDHhOmz1m9VWBUEDNWCjSm9E-2UkJr4"}});
melidata("add", "user", {"uid":"d77281b4-1c22-4163-b9b4-f61832039fe1","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":"d77281b4-1c22-4163-b9b4-f61832039fe1-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"e5be420c-7135-47f2-99e0-dfd297ff916e","x-d2id":"d77281b4-1c22-4163-b9b4-f61832039fe1"},"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");