";
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", "c7ae12c8-e30b-45d0-a128-22676a8dd525");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "c7ae12c8-e30b-45d0-a128-22676a8dd525");
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":"05582f9f87117925b8505b23f8c17955:4eb6e083f88b730c98bba302c7d29bf7b7884d0413ae3a8cac56fbd31a64158299667c0c524bfdb5bd7e294caab746ec322c856f9e7c3befe9cee379ca975a9a77ab72ec5a826d3f1ffaf964366edb90e0a75aa382e4575ed60330c54874ae2efe4984592421534c7bf0393ee1c3302326cc65569f12ddec81133b7e0230430460d184a48a1d5a92dd2d8c25416b3df3f0309927a8c9","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3NjA0YWFjNy00ZDAyLTQwNzUtOTc3My03NmIxOGM1NmE4MTAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.aGmefq3q8pUFaz05346kHh-NErzMI15hDw0A8XAta98"}});
melidata("add", "user", {"uid":"7604aac7-4d02-4075-9773-76b18c56a810","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":"7604aac7-4d02-4075-9773-76b18c56a810-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"6f2a04c9-3e37-4eeb-b225-77126448be11","x-d2id":"7604aac7-4d02-4075-9773-76b18c56a810"},"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");