";
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.11/melidata.min.js');
melidata("add", "id", "3ceac58c-e845-4f88-aeaa-cc03ee5e4c8c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "3ceac58c-e845-4f88-aeaa-cc03ee5e4c8c");
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":"f9a8cea0338967fa92aae615072d5222:9e7059c36f8c03f221b54a588bed674e8bbc0bb270fca24c38e89bd3d312b78e2926ff42bf0c7beaf8a3eb3655b797aa1c3d909e4976cfae416c2277d76ded7fb412070b5f58738b05c2afc30de1b1a00a79409cfaee92db4b396951f2b41be8b651dd561b2481970d5b2312a7f711251335ebe5991bc4fda8e9cd3d44eb68c4d16bf0a1f3d6631d499c6f41cc9c492ebeaa488243","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1Y2NhNmFkZS1lZWVlLTQ1MGQtOGUzNi0zODY3MzdlZWNkNmYiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.R-NJ2VeN_oXVAiIxZbErxXcZ8_uLo3yGHxyuwq5Vqyg"}});
melidata("add", "user", {"uid":"5cca6ade-eeee-450d-8e36-386737eecd6f","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":"5cca6ade-eeee-450d-8e36-386737eecd6f-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"6fdbbece-7730-45b4-a80b-843f595e6269","x-d2id":"5cca6ade-eeee-450d-8e36-386737eecd6f"},"http_url":"https://www.elreyferretero.com/navigation/addresses-hub","http_referer":"https://www.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");