";
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", "dd35ccdc-5445-4ac8-8f42-9df125a77d37");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "dd35ccdc-5445-4ac8-8f42-9df125a77d37");
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":"6ed273a5087ed7c7f91c125d4e84120b:7ac2c02ef752f6cf615f160fde97f5b6273be117350af8f07e8f8baf32953aa64b4f688bb8ce852a4e5603028ac18e3f41e188794aa75b2d5ab01344134df771ecc8141823889348a943e02ac33939ee3759cf277db13c22a041a42530a148d800a0d0de65830204d4d4207756c97bf76c416e472ade59f778152ec0e90f397a4b825930bf524670824ccdaf78262cd173a5926cdd5f","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiMTYzODAxZC05MDRkLTQ0NDMtOGVhOS03MTIyYjJhMWRjZTAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Q1RgXL9H6fdHBcKpbq93cEvZKdJHvHtT9KsvIkNAkUc"}});
melidata("add", "user", {"uid":"b163801d-904d-4443-8ea9-7122b2a1dce0","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":"b163801d-904d-4443-8ea9-7122b2a1dce0-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"779e9e11-8a3f-4961-a700-3d5dd36f4a85","x-d2id":"b163801d-904d-4443-8ea9-7122b2a1dce0"},"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");