";
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.nonce = 'ia3L0vkVGqaffC7PRqTVhQ==';
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.12/melidata.min.js');
melidata("add", "id", "9a599d18-3bd9-4983-b588-963cac1b86ec");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "9a599d18-3bd9-4983-b588-963cac1b86ec");
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":"91fe6327c0eba492379334f1b44acb85:461307def3283ad83c98e57b9a1bdbc9b4f89ebad0d74552eb4ef233c1dac38ec600121120471d4c914762e939261cd4dc9939f75eaf4e6744202650392feee4741048854f17bd125baf6ba2d076619d413c97a0f9b97fea9b5d8eba26d3ab032d3c0f924594008667695f0320d472afecc14a9a46ea90347323c5d842e4ed2f6e0b2e957568d5bb70832b58ebd431c9fc5108a31f","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzNjFlZDBkMy0xYzFjLTRlNTUtOWYxMS02MGM2OGFkODIwNjEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.yephv0aBP8fvbnM9rcJHKgVPILpgM944MfQBuGd24S4"}});
melidata("add", "user", {"uid":"361ed0d3-1c1c-4e55-9f11-60c68ad82061","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":"361ed0d3-1c1c-4e55-9f11-60c68ad82061-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"a6478dfc-fd42-4385-920e-7aff3b501cae","x-d2id":"361ed0d3-1c1c-4e55-9f11-60c68ad82061"},"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");