";
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", "2a0f00fc-576c-420d-bad6-d5152fa2a57c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "2a0f00fc-576c-420d-bad6-d5152fa2a57c");
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":"deedaeb7f331dc576366ff4c085872a7:3d147bc63162c08903fb1d521ef85d0ef7566a5526affcc33110feb6471ed463fd4b54cd04bb7e6708894028a441429b8e7253299dceb12d86dcb4b6351aee2d7234d5acb9c5b84a0caf971e6bac0c3468f6293b4466b9ff514229eac909e06f4e150f2600d1e9d191c14ecc21faad85b7d578948f261d6f88b2e3510ffd065a0e5b1a39896f571145832ca856e8b5257e3624907d","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhZWQzOWJiNy1kNDZkLTQwNGQtODM4OC1lYzdiYTU2NTAyMjEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.suq-SqDuNlvkYbfZ6JXO1d9prCXC6mzH3FaJCv4WW5c"}});
melidata("add", "user", {"uid":"aed39bb7-d46d-404d-8388-ec7ba5650221","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":"aed39bb7-d46d-404d-8388-ec7ba5650221-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"686b0004-2b33-4dec-8194-d7afa4440023","x-d2id":"aed39bb7-d46d-404d-8388-ec7ba5650221"},"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");