";
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", "29cbc707-5273-4bb7-a7b0-3a31c85d3616");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "29cbc707-5273-4bb7-a7b0-3a31c85d3616");
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":"2f3e1d7e2ddee5c123f1fb872fe5abb9:d869ece18a90fa62e587d0688dabdfe3e2e0aa2b10970a7dfec088237d81971fa7d64e08376cc870ee7de23745d163150c684dd6f52d3095d2f7f16fa15cd6bbb1d921b15fdc02f224cb82ac3814ca2b991f6410b8db1f2ec1408783587956751f1cd98c93f8a541d0df90c255cfd385465df11be9054b16808b6c5b81006bc0aa2283a10946d52a956800546869f0a8e61f12c0df39","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI5ZmU1OTViNi1kN2Q2LTRiYjEtYjA0Zi1lOTdjZDIzZjMyMTciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.FoQfxl1toCVpmgnVucQouRktF7UOspdsFsg6pp_dx8k"}});
melidata("add", "user", {"uid":"9fe595b6-d7d6-4bb1-b04f-e97cd23f3217","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":"9fe595b6-d7d6-4bb1-b04f-e97cd23f3217-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"93d3e09f-98f4-43b0-9f08-3dd37a30170a","x-d2id":"9fe595b6-d7d6-4bb1-b04f-e97cd23f3217"},"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");