";
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", "d4864953-aeb1-4e97-ad53-0dd9108489d4");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "d4864953-aeb1-4e97-ad53-0dd9108489d4");
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":"3dcb6254fce90a719431a6e77379b280:b3694f7421e765b236963391af5668d134f92a854f9cc0039e783f9ad61c00b1b0d766be91a6afe8ea7fb22f800fb74d30172ff9509bfef79bc5391aeca521bdfa6f1b0e7d869e6586251a34b71a71a1c998ab5955bd1e1be1081460e60b827f3c9c17ee415146510a945282633166e6ba89a20e455d61d99a8f76382b1eeed2bb7ac9ac57f94091169e6a1ac803642762c86fd83aab","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2YjBkNDg2NS1mOTM1LTQ2OGUtODA2ZS1mZDA0YzMwYTQxYzYiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.HfplIgCmJjNG7UCD2buadklq4XjDoeazZtn8Xum_-DA"}});
melidata("add", "user", {"uid":"6b0d4865-f935-468e-806e-fd04c30a41c6","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":"6b0d4865-f935-468e-806e-fd04c30a41c6-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"b92eba4d-6276-4cc4-950f-a8e65e08a92c","x-d2id":"6b0d4865-f935-468e-806e-fd04c30a41c6"},"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");