";
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", "effcd8d4-d482-471d-b2e2-93f3e3a2182e");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "effcd8d4-d482-471d-b2e2-93f3e3a2182e");
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":"9035275e27784b8e44c3b225f7853087:7c9e7d692b8f15e69f01e791be438f826836278f3a0f3ec4aa8625ece56b18beaf1ff147f21de2f7ce781f816c787fb9348df17a17a09ae27a8d8cadd6f32a3bfba6a88692cd3194c219da66953aa55b8663910faf341ad7f32a8e013f3f2dd83a064782c4cf5a00a14f3cc110dd2569822146da60835c623e80077d5e5889de87b6dadda8b03ce81e22907f51c97227f52d48fe8d","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJjNTMzNzU3ZC05NmQwLTQ4MzUtODgyYi04MjgwM2Q1ZDQzOGIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.NNm-V4U8___Z19o8GVSTQK4KySRvDMYwNwa6usIpbDM"}});
melidata("add", "user", {"uid":"c533757d-96d0-4835-882b-82803d5d438b","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":"c533757d-96d0-4835-882b-82803d5d438b-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"66d54163-718b-4182-844e-16904ab49a60","x-d2id":"c533757d-96d0-4835-882b-82803d5d438b"},"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");