";
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", "1e41c991-3e74-45a0-baa4-426a30cf4ee6");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "1e41c991-3e74-45a0-baa4-426a30cf4ee6");
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":"61494a267e370bcb583d8ca6711c8ab2:2881a65c48583c7375c4fdff93460341faac106a6f5d5ab70ff28fdcc59044167ed3dd4e9173afc5e7dae7648fef187502a825350a46f23d5af9114977ca0238c6647543838a17350eff5a949c5bcf2029d0cf6e23988c49328e5a00ea2e826c0c64d86bad9a9674a3ab1a2083dbfe3554673f9dc34120bc63476af50d7184983690490657dcb38bee20249b9d0d09cc735bc423eb68","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIyMjExNmRhMy0wNzRiLTQ2YzMtOGIyNC1lZWFiN2ZhMzAwMmUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.b0S6CUTXObPgEmpfZe66eP_HoVlYwM8n6RIy3tNfBHg"}});
melidata("add", "user", {"uid":"22116da3-074b-46c3-8b24-eeab7fa3002e","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":"22116da3-074b-46c3-8b24-eeab7fa3002e-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"d60852b2-6d44-421c-ba97-6257addf46d6","x-d2id":"22116da3-074b-46c3-8b24-eeab7fa3002e"},"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");