";
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", "7761901f-7d19-4db2-be63-6175388afbd6");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "7761901f-7d19-4db2-be63-6175388afbd6");
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":"731c88197639ff46b12ee68de2f8511d:8163f81288df3f43dd0b6630dc4198ce6f076990ad82c1f967681dd6db2e0357060d78bf95011fd3159d739e5baee0b2846eb893701935996bf417a6d164e0a94f2e94f50eec1439947f2896d08faa27dbae71540291ec3a822ffb78a26a43f5944e5e37bf07e5df3a9f37c4141ee47ed987658b99d0d726f3f4e7c1b91405be02c37060a78de772a31be85fbced67567bafd40659","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1MWUyOTY2Mi1jMTA0LTQ3Y2YtYjE1MS02NmVkZDExOGQxYzciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.-IQKk0ixgoGxRjZ8U6-5pjJ_qU9CuekSNIFY88OxDAQ"}});
melidata("add", "user", {"uid":"51e29662-c104-47cf-b151-66edd118d1c7","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":"51e29662-c104-47cf-b151-66edd118d1c7-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"996c7d63-35fa-4c82-a044-e60961907331","x-d2id":"51e29662-c104-47cf-b151-66edd118d1c7"},"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");