";
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", "3bfb421b-11ba-4089-bb0b-3cd2519e1f66");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "3bfb421b-11ba-4089-bb0b-3cd2519e1f66");
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":"345cedde1cc92ee9282873716ecb7142:897f0aed8863a636d9758b3363035cc7f936a9de6984724309754d6a55dcf746773913b4af3c20261c9813b3b0d4a8724782e1063bf6726f09007183d572e3fd7823c5c69cd6cf8cbf2b88501dd0a75caceac208c3cd8b066c58f199cdae626831e6df00b81d3cc93108627eded126f4c99736255a79b701c7aa701c36e51ec80bcf194f9805ad84f08026a7ffe3f2a6464fc2d63b83","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1MmU2MzhjNi0xOGE4LTQ4ZWUtYWM0Mi0wZjYxNjNjNjEyNzEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.zrGn2LjodzzdevbyFgCLsrnDyniqGLLFnIHnhC_pKVg"}});
melidata("add", "user", {"uid":"52e638c6-18a8-48ee-ac42-0f6163c61271","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":"52e638c6-18a8-48ee-ac42-0f6163c61271-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"5c29700e-ee04-4bc7-98ea-692243542c8c","x-d2id":"52e638c6-18a8-48ee-ac42-0f6163c61271"},"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");