";
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", "ac3edb0f-104a-4a3c-b3b4-0e632c43d643");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "ac3edb0f-104a-4a3c-b3b4-0e632c43d643");
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":"dd1e6c87cc5a8237dd551d7776cd7794:3cb3904a97454414552a151dfd8a8f156cd2ff32dc604e5c072de0006fa352794deef57082228a825885d0706f2f33f66c67fa569932882e736949024975ee31ff2a3e0cf0ff779c8746f3cee215106c0593d0a3b0eb463e3573fbfdb45384765b221f2453a140eb33d17c6bec849fd5413259a969ceb878a1686169a9a90c503ee0a6b9a002b9c9d8712a5a1838c3e28fe6a1f45b","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiN2NhNzZlYy1iNzBlLTRjNzctOGQ4OS1kN2ZiMzJjYjVlMWMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.rU9DXAm6WUOH7xXMn3xeys7w-imUAX3qfwpU2FKqphk"}});
melidata("add", "user", {"uid":"b7ca76ec-b70e-4c77-8d89-d7fb32cb5e1c","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":"b7ca76ec-b70e-4c77-8d89-d7fb32cb5e1c-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"19f992d7-7d0e-4f81-b3e6-beeae89eb2ae","x-d2id":"b7ca76ec-b70e-4c77-8d89-d7fb32cb5e1c"},"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");