";
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", "60223cf6-75de-402a-b57e-3d62ef2093ba");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "60223cf6-75de-402a-b57e-3d62ef2093ba");
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":"63234a8a134e2c9fe90f1bc0428afe58:a93b4229111b8f8637c77555f3c0af80e2cc551b70c3cff3039a8842f4f2eaf93fcf570a905c2df89ed6c43f2c129a6f502841f6649f317cd86e58d86183e568171f632e5f703152e15bac2061f35f88e3a739656b8a321b1f016a78c111f172423f30e38d456a70f025b05d2878634988653968daf1953f8297e9219399b73ccffb062c68488e673fb1748d080d31a119f3618a5a","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkZTYxNTlhOS1kYjIxLTQzMjEtYTU5Yy1kNWM2YWIyNTllYTQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.5I96azdK90YqTQtxaYM71_o7dxvcD29YI3FfI86bbe0"}});
melidata("add", "user", {"uid":"de6159a9-db21-4321-a59c-d5c6ab259ea4","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":"de6159a9-db21-4321-a59c-d5c6ab259ea4-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"359fdbce-3e54-4d9a-b7ac-4602472824e8","x-d2id":"de6159a9-db21-4321-a59c-d5c6ab259ea4"},"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");