";
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", "9f8d110a-d029-4cd1-83b8-eb067ba9bb92");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "9f8d110a-d029-4cd1-83b8-eb067ba9bb92");
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":"d54bf0e43e27b260a6e345b0f3cf85d0:be66148b9acd941c0b9ef207ac70ddc054d0744a2feb74c93d31508b733071e111823f234ecc698eca7b342ce2a854e2cbe4a1e032e64757a9765f7705f6157efb2467160af76388196b6d0720258895e3be22cdce1da6da18071306ee639d1082c0b3514daa4e80dd731a57c7b3f675578f2a3d07f7abb27ded9fe8b15986c30ec59db903ddecfd31d8b83a8ab1b8c03d468da30b51","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI0MDYwNjRjMi00YmRiLTRkMjQtODkyNy03OGRkMDVlNTAyZmEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.6jKcSoEgTSPjtlqd7tMp8XKkgoz9uRTLx8pC7adDo-U"}});
melidata("add", "user", {"uid":"406064c2-4bdb-4d24-8927-78dd05e502fa","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":"406064c2-4bdb-4d24-8927-78dd05e502fa-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"e1bc49aa-f75d-4e69-b864-7c85b90d875f","x-d2id":"406064c2-4bdb-4d24-8927-78dd05e502fa"},"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");