";
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", "33633f4d-181f-464c-a882-96db6341b1a2");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "33633f4d-181f-464c-a882-96db6341b1a2");
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":"a843dada8aee1679430c1bc0a86ff000:31dfeac27a4992a92d0cf074d04b9fabe972c092c01e9019bbc24b61f138c0d847bcfc939e59bf476726e9b261219b9f32fecf45fdadde30c0dbddb82c71087505a41daea24f1e4e3acf43820cbd4a1cc6ce11019d15b0e6e27fa78885848d2a7a66a7b274b562478d7c4bca41e90dda71737b0570c9b21bef1e42354a1e320627d8292c359aca9d01be27135db29d1c4322350522","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJmNmEyOTExNC1lNjdiLTRkYjktOTJlNi05ZTUxZjdjMDBhNGUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.2QC23aywHDSIAvYb6Gn2CNGl04ZnqU8PwdaEqrAAB-c"}});
melidata("add", "user", {"uid":"f6a29114-e67b-4db9-92e6-9e51f7c00a4e","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":"f6a29114-e67b-4db9-92e6-9e51f7c00a4e-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"a43f8d25-b55f-4cee-a8b6-fc4c4ac38f9e","x-d2id":"f6a29114-e67b-4db9-92e6-9e51f7c00a4e"},"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");