";
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", "764a2703-0ab9-497d-8a2d-1804986c4cd8");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "764a2703-0ab9-497d-8a2d-1804986c4cd8");
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":"9dcb35080f8a58e301615c6d27eeb25e:804705909efed0500a84047008505a782484aa7984abedb1240dc9d67d48a94f8f171d3cb937516e8cc7f60824dc0447b8a228307c55fb894c3d0a3ef9cd523730bde03f7a1e502377cdb4ff3f9b26a50b795f2590f513c4666e239ce4a4e09db5c86f13c0c0f7c3bd7ad0b28f35d4f6a1bcd3a928fe5a2ba0bda8f96c6641ed28c1d10d46f15c4123195bc1d39352d33dece259ac","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1YTY2NmY1MS1iZjU3LTQ4ZTAtOTA4ZC0xMGI4MTFlZmQxNDAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Yz_Sb2bFfwc-OEzIqJRDAjC128EZBJiDK6oBWzI7OW0"}});
melidata("add", "user", {"uid":"5a666f51-bf57-48e0-908d-10b811efd140","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":"5a666f51-bf57-48e0-908d-10b811efd140-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"019ab468-6585-4d90-966c-395d93f0566d","x-d2id":"5a666f51-bf57-48e0-908d-10b811efd140"},"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");