";
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", "aaaf073f-8428-40eb-b726-4f7d80e02c3b");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "aaaf073f-8428-40eb-b726-4f7d80e02c3b");
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":"1b5fe13d310895122f7fee38714f51c1:960fd76b2cf37dabd63667d72a47e6f8c4c0ccdc9a504dbb4cfbb7591c670df6b23d8ec086875915a53784e665bcb171e864d87c027ebcb69d420064a8001acb29fbcb2483356490d672e106f99bf636efb9e5d4056785254251bb9d71045b7618118cba954080b0066ba6574bdf557b1173c1436adef4d01ceea6ebda008bb4db4abc897117e196814eb7e71cdb14c34d04d03a4a","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIyMmMzZTRhNS1kNTMwLTQyMmItYTk1My1iY2UyMGFkNDc5ZjUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Ntd3pLJDXFUjKYh_fvUMcOZgw232yozLjxDzndYdLGs"}});
melidata("add", "user", {"uid":"22c3e4a5-d530-422b-a953-bce20ad479f5","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":"22c3e4a5-d530-422b-a953-bce20ad479f5-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"95dc5d70-412e-4fce-9fab-9bd3ba31e752","x-d2id":"22c3e4a5-d530-422b-a953-bce20ad479f5"},"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");