";
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", "84d615d0-ebd5-4c78-80e6-789fb99f1cbf");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "84d615d0-ebd5-4c78-80e6-789fb99f1cbf");
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":"7908baa7e58183248deddbd8e3593b35:88f3098eb07a013d3df05f91e1ae89bd884a05ccefed0cc39adbceac06211acd504eacb8641311d528770e1f23f9e16d5f9170594712d80454667374f9ce613357893d189d4b325e5b91be4335d7376ec68c5dd34229a08aa148fa3f34869f61320e3615d102b206802a9dfca0352d77a5caaf46818cfd7cd763fd9902c87ef781e0d53ea69d8fed3f2757ef6246e39115d8734516c4","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzMWRlNzMwNi04MGNjLTQ4MzAtOWQ5NS0wOGIzODQxODQ4YzEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.IWd50vjka9zj2QMcmOn4te3pToZ8RgAXQg_gsFIx1nw"}});
melidata("add", "user", {"uid":"31de7306-80cc-4830-9d95-08b3841848c1","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":"31de7306-80cc-4830-9d95-08b3841848c1-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"96e0a097-0783-4167-a743-dafb2bfe5a87","x-d2id":"31de7306-80cc-4830-9d95-08b3841848c1"},"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");