";
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", "a8fa44e3-aa7f-4cc2-a164-e6c823c2afb7");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a8fa44e3-aa7f-4cc2-a164-e6c823c2afb7");
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":"b738a6c006f93c44dc06966cd3a5bb23:0cba5df761818a6dc8a238e4e05758e6aa916394557a48e4168ea28dab3eacce6421de2ed17be70f9e88655c4298e2d70a9af9203037735f0b4b17cfd4e2014d9acab83191d9398f256fd2ead8c7b598283afc01a4dd8ccfbaac738539c4386c2574806ff76474c364106bbad58787e919a828a24530953a8aed4f600e99e81a814d41119528147488062a29513198f69acefde77b98","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1NGJhMjdlMS1iNDljLTQ2NDEtYmVkMi1hMmY0ZThjODFkMDEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.clc-EVfu6CkjH6vxk59VhDLipdt_eF9w7pIb9V6F8P8"}});
melidata("add", "user", {"uid":"54ba27e1-b49c-4641-bed2-a2f4e8c81d01","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":"54ba27e1-b49c-4641-bed2-a2f4e8c81d01-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"5a8b11fb-7ea5-472e-92dd-dbffda10813e","x-d2id":"54ba27e1-b49c-4641-bed2-a2f4e8c81d01"},"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");