";
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.12/melidata.min.js');
melidata("add", "id", "c7c20109-12b6-4aad-851a-3ee10d9b467b");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "c7c20109-12b6-4aad-851a-3ee10d9b467b");
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":"0c973e8111d86e622f2166536e43c486:37a2a2a0cc16c4939977d6fee7782d8c17d43abc4fb5e29dfd9aeb9c4477ed40930274e9a4e35743fe96b7f3936251448d2193e4502add220493932c3c04def8ecd0d314198e64801ab2746530407c77dac760d480dc96f05b6252970df3541687738c374c1d8a0c84211cc5be68d852fd77815a126aa4b16fd89489dc5aa485c2cd07192bf518d2e727d97c379f214fc435ab8098a5","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIyZmU4OTJmMi1lMDc4LTQ3Y2QtOGIzMC05NDM3NDBkNTg2ODIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.b_8OVS0jlMv_esnesbw7D-faqNkz4cQY87DZh-5B2ok"}});
melidata("add", "user", {"uid":"2fe892f2-e078-47cd-8b30-943740d58682","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":"2fe892f2-e078-47cd-8b30-943740d58682-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"f62f76aa-1ede-47ba-a37f-983527243ba0","x-d2id":"2fe892f2-e078-47cd-8b30-943740d58682"},"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");