";
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", "f5028a16-bad9-441f-a63f-2bac8307b06c");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "f5028a16-bad9-441f-a63f-2bac8307b06c");
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":"458f492abb5feb85ae40198e043ec9af:79a2e80f4b72ddaf9ffea8170f97769b79d92bb2884bbe3e85847b10fcf77c8df8f6a08096165f0bf26ad971551991d1751fe0879964e951d9b887e82ee7c5f8ecc2a57861acbebd53a15f5e245f72572439c1c285dba01e6329b42dd83430e699783714138d95bbee20e64a7539bafdbdf71ba186d9c4b2d931f08c2e75075968bb9959ccb89709e081681fc675c442dfa4cda0e1","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2MTJhYjc5Ni05MTIwLTQ4NDItODUwZS1jZDU2ZWNiMzUwMTciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.sLRKFncy2VVKJmIRbWFdjtWlmxIGNYAV3tVuGAWWgQI"}});
melidata("add", "user", {"uid":"612ab796-9120-4842-850e-cd56ecb35017","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":"612ab796-9120-4842-850e-cd56ecb35017-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"82826588-4d25-4afa-8b2b-06e365a66fcf","x-d2id":"612ab796-9120-4842-850e-cd56ecb35017"},"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");