";
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", "a9e27305-3bdd-4ded-ada8-d51f247eee64");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a9e27305-3bdd-4ded-ada8-d51f247eee64");
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":"ea0197702481b75db6603689338ec349:71fc7d23a2663fe47512451b7a4887aeddbbef0cb0c9e34e66c80756217952af2906bea02331a028b4da72d70be18cc44d5169438c3701521f24470ee36761a716858cb7fdd9147be42230f0f9df6f6c869dab4b467884636ad308bcf57661ec6b1aab682f5294a94c4823ada89f1c8eb0e2bb2a344335a2b2da789720400584f8a10c940f30e61387fa17a69f9e11c30dfa240604f1","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkNjI0N2NiNi0yMTE2LTQ0MTEtYTA4OC01MGY4YWM3NDllYmQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.lwaoiR4VJIFJYhEiZIgsf2h9iXpC0gFrHb4IYvFiiDo"}});
melidata("add", "user", {"uid":"d6247cb6-2116-4411-a088-50f8ac749ebd","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":"d6247cb6-2116-4411-a088-50f8ac749ebd-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"29855561-9100-41c3-b2cb-3ee17981d832","x-d2id":"d6247cb6-2116-4411-a088-50f8ac749ebd"},"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");