";
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", "23fcdec2-d0b8-4c8a-adf8-504a35c045d9");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "23fcdec2-d0b8-4c8a-adf8-504a35c045d9");
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":"a4c8bf17bc86370513c778573dd97ebc:3fcf49bafd8059a0b99d87523f3b86ecd971680677e5ace0cf74cc07732884df50601a6af0c1716db2555314651ac8e75c3de6c8ae20c27651cc42af8338f002174a1b2253ceb45d81653637beaaaa329695d9bdb5023960833a8b7e3748ff4e5409fcba575fd7419327c0dfa59812f288b0049eab3e59f5094e569e99b01d72a9fbb72bd510c46314567f8f1042c87988473fe0d3ae","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2MWQyY2IyZS03NWNiLTQwZDItOTVmZi1mMWM3OTdlNTQ4NDciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.teK3R7Bd8DKVZRQg77agSmZXDyweA-6VdMhObPTdmnA"}});
melidata("add", "user", {"uid":"61d2cb2e-75cb-40d2-95ff-f1c797e54847","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":"61d2cb2e-75cb-40d2-95ff-f1c797e54847-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"b4878be4-9dbc-4666-874d-168af674dc64","x-d2id":"61d2cb2e-75cb-40d2-95ff-f1c797e54847"},"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");