";
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", "0bba282e-70e6-42d6-9167-e9ca2507dd1c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "0bba282e-70e6-42d6-9167-e9ca2507dd1c");
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":"aee91e2f1f0705f502b2c68b197cd227:a44dec654c7412a6ffce5b169be9bad89ebbd4a846ee4eb65951f0a1be23a8f5397f69a1577888c3f132ed2293019b6c17704a28a4271cd2c3b36cea33b2d50b5837436b2a5e706498a8f320c376e00a79c54990f5c3b319cb2cc0f6ec60814d0254dba341508a1604ff33e875651ea8414ae63394478a5059bcdd47dc9ebd8b490c0c29eab9d2fd7fc6d8ca1b638dce89e0c854f0","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1ZTRiMWZmNy1iYWRkLTQ0MjUtOTYwYS1mMWIyZjcwNzk0MjgiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.ySFnw8xl1esHRM7i_eoOHZy9YF-4UzWuGSqsG9j0VBc"}});
melidata("add", "user", {"uid":"5e4b1ff7-badd-4425-960a-f1b2f7079428","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":"5e4b1ff7-badd-4425-960a-f1b2f7079428-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"e061e4de-f37d-4404-ace0-a379918b9274","x-d2id":"5e4b1ff7-badd-4425-960a-f1b2f7079428"},"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");