";
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.12/melidata.min.js');
melidata("add", "id", "eee8c9ae-6570-4dec-9b7c-a6bb3088e34c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "eee8c9ae-6570-4dec-9b7c-a6bb3088e34c");
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":"c6c1715c6c700cc96138ae5dd60fa0a1:8828cdd3157440d2f3a1e7c474bc7dc5aacbc46321f9877bd07964078c758849fd012022d8297b3ff94979519726765e59b9e1d292492f3d073bd861a700a85379586b7e323d74855aa8966a0cbd086e8648259fdb243cba1768262e0887536a341c549c4747d3798953aa5c8b15f8f76272cb7a209291a81a208da55bda69accb8305e0106f5b0e68cd36dd85d3f35c83942171f9","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2NzIxMWExMS01ZTUyLTQwNDUtOWY2NC0wYmZhMjZlMjA4NmIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.aNS8yAmlBG0_s4gA9VDwvGH48Ry6AaJ3Q1CJIlmWwAc"}});
melidata("add", "user", {"uid":"67211a11-5e52-4045-9f64-0bfa26e2086b","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":"67211a11-5e52-4045-9f64-0bfa26e2086b-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"b95652c9-0d61-466e-b955-51c2c68ae609","x-d2id":"67211a11-5e52-4045-9f64-0bfa26e2086b"},"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");