";
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", "b3897f2b-f2c6-4612-9c03-6a3c3913c0d5");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "b3897f2b-f2c6-4612-9c03-6a3c3913c0d5");
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":"8cb38e4368d3ab0181197994bcb2efaf:05f1bf551902fef409814b30e45831a1127403ad217905764652a8c57734170ae5ebc3d40a0b5ee5edeed0f03c4655a5fb0a8c26526267a88bf1720dd6efb520d2776f9d5635174c3e1db77ef1a7cec7a6e087918307c811d818ae972744b17c48928e4211093ba8d86a7e5909253b017734347744a69e8c5e62c04380ef54f32298af06043cf3c54746fc744ec686a04ae722affc","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3ZjM1Mzg4OC1hODA0LTQ4NjQtODNmMi0wMzZlNTE2YmQ2MjMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.w6BZgTAhQ0PvTQS6P7e1NeIvHaQKI27CUdb1W-kHLPA"}});
melidata("add", "user", {"uid":"7f353888-a804-4864-83f2-036e516bd623","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":"7f353888-a804-4864-83f2-036e516bd623-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"938aa452-6613-4892-9314-885b5e2bea16","x-d2id":"7f353888-a804-4864-83f2-036e516bd623"},"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");