";
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", "a954217d-c044-46cd-98c6-6ab3aa6a18b7");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a954217d-c044-46cd-98c6-6ab3aa6a18b7");
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":"95dedf719780454435da4774fcc9b14c:081e0e3ab879c52705762cd3f36d6af6dafe3bee69e5e144986923f4ac872fcd826f6665c2a76d1d5fb1c9cb14d4a3acc4f442b14439bf23351d0a92984f96c8a541e2c82787f9d4f8b7c05f8518a98e83556bbcd3e06e0b42729bfba9676c0d2d63254690f4b9dea6f93886a887daf264093477d80624ae2921fdd8817aa9874467bd70265e51babd0cc5baaa7825c9aa6071b4ec","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzNGM3NTAyMy02ODcwLTRjY2UtYWVjNC0zODk4MWQwMjIzZWQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.CFMhqNpfE0F72yybuMggVRGYDLHKBN1uM-sF-KQdxJI"}});
melidata("add", "user", {"uid":"34c75023-6870-4cce-aec4-38981d0223ed","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":"34c75023-6870-4cce-aec4-38981d0223ed-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"06e239ea-8150-4617-8789-14cfe8ea34c6","x-d2id":"34c75023-6870-4cce-aec4-38981d0223ed"},"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");