";
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", "78f8bb6d-c61a-46d7-9f62-9095dde73212");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "78f8bb6d-c61a-46d7-9f62-9095dde73212");
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":"acf371a3a0739ee718f4493d15c39104:e69da5b536c91e99da8bda6da76add4ac0d465dd5790783d65253dcdd5863ce9297b4bbaa13eca2fc14e7a1d214a926202fb825070b047a205d51e51433c04f2fec2cc64cc3e029f25be5a8632146cabfc331dd2e67c092cfad8bbe2b2b057f98e0362ead994b96dc0211e1d178e7958b2511ed01ef1afd8727f94a1516eec2aced6da98eb465ea462647ff6e415c34f8d1e697a1993","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4ZDIyNjBmZS01MjA5LTRhODAtOWNhZS0xODVmYzI1ZjNmMGYiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.AdxuxGkdFfMrBiubM0hZk4K3wwI59VcBDbIbF5-mqME"}});
melidata("add", "user", {"uid":"8d2260fe-5209-4a80-9cae-185fc25f3f0f","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":"8d2260fe-5209-4a80-9cae-185fc25f3f0f-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"a144b9df-d75f-437c-aec5-af6682d4abe2","x-d2id":"8d2260fe-5209-4a80-9cae-185fc25f3f0f"},"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");