";
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", "77db2d0a-c47a-44a6-b2f3-feef6dee9a36");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "77db2d0a-c47a-44a6-b2f3-feef6dee9a36");
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":"44d01205eb89e62af3a5d216c497b6c6:c675cc662dca69cde84928189c144d778726ce96d69e508a1745f4ea5ec5dc80eb99a32700a2b4d94677a2e10f35a4c3f56dbee171deea4e73471d9e2e31db86b903a15f4970e3ad853d7d133fb528f70668bb566e63af6d3cdf3d8356de10ff931cc62da9a5174ccf2c73edc2c297bea12b483a94d7ab3ac30789e3a93bf9bb75e46e6ac26da03656fe555ff526f03f83a47d3a61","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJmYjM2NmE1NC0zOWY2LTQzZGEtYjBhYi05ZGU3ZDdkOWJhZTMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.tYizg-6D9x5diXxE9hyoxMNvLZJSmxFpK6moTqjwWPc"}});
melidata("add", "user", {"uid":"fb366a54-39f6-43da-b0ab-9de7d7d9bae3","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":"fb366a54-39f6-43da-b0ab-9de7d7d9bae3-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"73362c5b-8885-44c4-b915-7b73b58f13e2","x-d2id":"fb366a54-39f6-43da-b0ab-9de7d7d9bae3"},"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");