";
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", "5f8747b9-1a9a-463a-8bb9-aefd27ce96ca");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "5f8747b9-1a9a-463a-8bb9-aefd27ce96ca");
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":"1e336b25165a83b4748d0b7540a0a2a2:a9bf7c5ca866299112b5004f8f6efde1681ec25b104be45262a8fdee073f3269cbcb4c4924c8de94827d450d477fa69b021c4ba64c628b22ae2de12b715051634971dcd978509ad46e156e6fba41188e42816db470225d32b09f452e142208986374c08eb2497d959e8133af11bbb1b6d9c78a4577869eb59507d2cc3f6680aa8a654a32602f3e347b1df3f0a1a84a3a72d55326d868","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiMzU2N2IwMC1mZWVkLTRkYzMtYmUxMC1iMzFmYmY1NmM3ODkiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.uv7Mgq4szkhnaA4_WzAuG3I-qNg2ZeakAvXlmWpikYE"}});
melidata("add", "user", {"uid":"b3567b00-feed-4dc3-be10-b31fbf56c789","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":"b3567b00-feed-4dc3-be10-b31fbf56c789-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"02565946-f697-4ae7-92c5-03affc0db68c","x-d2id":"b3567b00-feed-4dc3-be10-b31fbf56c789"},"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");