";
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.5.12/melidata.min.js');
melidata("add", "id", "af524ef9-4146-4d7d-9f40-b7968eb69236");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "af524ef9-4146-4d7d-9f40-b7968eb69236");
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":"2999ac2e8f2b9b2ff6bb0538c62f0750:20c84fa714869f2fbf8028b8d458b58df3a0ed0c55a17dd9651eaba3d299d1b4fff4fdb74aaa32c3027413a27adb98ae56d7f61d56480c4ab62190a68f28c6cc82f2b50e45a7615ce9a9c48ef652e8ff21999dd5d13fca70b7ba4f4386bb7402faa38960c52107a5dd0e3cebe7dec664ae4f7c365b975be07cef2cf415ae4e7b0305e55db1916c968bbe21edd47749b95f0dbb3b02","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkNjVkN2FjNi03ZTFlLTQ5NjYtYWU3NC00NWNkMjY5NTZmODkiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.WNHz2cI_ZyZO9eJrV-_f_Qgpm7U_aHhI7xRFTpeJWvw"}});
melidata("add", "user", {"uid":"d65d7ac6-7e1e-4966-ae74-45cd26956f89","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":"d65d7ac6-7e1e-4966-ae74-45cd26956f89-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"0602b135-29f7-447e-b67b-70fe051fe26f","x-d2id":"d65d7ac6-7e1e-4966-ae74-45cd26956f89"},"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");