";
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", "a1808446-30cc-4ef9-bc29-fbc82b9c8357");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a1808446-30cc-4ef9-bc29-fbc82b9c8357");
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":"9b409a0515c67af6b8e5340ab6c929d9:e5c23284b4ed1082332ef09da3fa0227929dfc79226fd53a00e524bca6d3c8b175eafa20c0d378ae60089e98b5183f865fe3e6a56df9cb756740a5341089eedf0c08bda0ec82db96e7fe1ad8654ba5599aaef2bdbb5e765cadd6150ce444022744691b34724ecd228420916914a4594b6fc31335ced9cc4bafe93b1aa435a72e20298da7e008c141a7e8336b546135a881609cacdff1","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI5NzZjYjMxYi05MDlkLTRiNTUtODExMS1iNDg1YzhmNDM4NzUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.SHZ1rMuYl2VKrGah9EyeLDp9OV6X0nSf2vuv13tWWKI"}});
melidata("add", "user", {"uid":"976cb31b-909d-4b55-8111-b485c8f43875","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":"976cb31b-909d-4b55-8111-b485c8f43875-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"247933c9-7c4e-4051-b1d9-cd06bbead545","x-d2id":"976cb31b-909d-4b55-8111-b485c8f43875"},"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");