";
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", "a2ec6279-a309-47d1-8e80-489c3bbaa442");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a2ec6279-a309-47d1-8e80-489c3bbaa442");
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":"824225c4d075dea6c5faef6f187aab24:8aac8b1abed840e68721f83ba13c026ca8528a723383d353fa9468909b95b87517adb557034941ceb282647b27046270dd34f90e81a57bad8aee13ad7b94db22b5a47a29cf2da4db99f59f81b731436f1566d5f350fe7e5c214b94e60b4a5384170213b290a8ea476ba73d99dceeee9142f315358de535093b8364996d9a1d4bb766f2286d36df96586c49ca9d8401370098218fa1","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJjNDZlM2YzOC0yZTk1LTQ2ZTctYmZjNi05MTNiNjRmODFlYzciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.7bsKqEmas_pkpxcSGsGj218olLeb9WRHxSP_uJ8NAjo"}});
melidata("add", "user", {"uid":"c46e3f38-2e95-46e7-bfc6-913b64f81ec7","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":"c46e3f38-2e95-46e7-bfc6-913b64f81ec7-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"3403ec44-dbdf-4f76-83fd-738e5f7adcb4","x-d2id":"c46e3f38-2e95-46e7-bfc6-913b64f81ec7"},"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");