";
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", "a96a681f-b606-4fe5-a2a9-441e788c4647");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a96a681f-b606-4fe5-a2a9-441e788c4647");
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":"c4b4714dfb38d0941cd49bde282b7788:d9166248e080975ec230427fc241c31790e5534efc83d801ab7d0d6de26d1aaca1b2fd2fb5c06c90738ad19e03db49a8dce5425bb7f7c274fb8b318cacbd8b79ede866454fdbc91f95df01dfbcf18f253a3ed8fb2ae1953cc1030daf159b7ef685fcad4fba61fbee5fc705909018eab6535f67b799dd8f033a22fb2050a47ef72aeedba552ac97ac90c3d69ffca7d9761725b8966b2c","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkNTNjM2M3Mi1mM2JiLTQxZmItYTgyNy1jMmIyMmE0NGI2ODAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.hGV-e25AbQgaROGo-tf0ezmWudLf9_t3U62Ok1y2kf4"}});
melidata("add", "user", {"uid":"d53c3c72-f3bb-41fb-a827-c2b22a44b680","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":"d53c3c72-f3bb-41fb-a827-c2b22a44b680-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"446bfc1d-af06-41fd-b0e2-ba82768be139","x-d2id":"d53c3c72-f3bb-41fb-a827-c2b22a44b680"},"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");