";
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", "aaf4d249-1ffd-4b4e-bb3a-7b4458989867");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "aaf4d249-1ffd-4b4e-bb3a-7b4458989867");
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":"6aeb9db59520d8be94bc568f26af9735:6327bbc78c737d79692911f218321086d2a5fe70406ef5b1a8e3f65c4ea3f6c3cace4c9c0d01def16cdae131b0968471b5e721997c87b32a3b7d07d72ce629c4f4ec3e12641bf5cc6be06b4fb1d69364029637f479c626342a237112ea0d364616c4b547826ccb42067caadd9c437b2203b17a3b3a72e5fb6e99ddf7529be8d735533a10cb07869ba792f25f6f77d2187aae11ef00","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIxYzE5YTZmYy0zMmU2LTQyZTgtODBjYy0zNjRmZmViNzU4NjciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Hmlx55wfpgA_UPdR57CZ_gWOmxZhJ8uzsQS8GGpuBIA"}});
melidata("add", "user", {"uid":"1c19a6fc-32e6-42e8-80cc-364ffeb75867","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":"1c19a6fc-32e6-42e8-80cc-364ffeb75867-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"78d8e1f0-9ed9-4af9-8125-f9e3dddf9889","x-d2id":"1c19a6fc-32e6-42e8-80cc-364ffeb75867"},"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");