";
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", "8bc787ba-4e1a-4b9c-b14e-e53d1ffab49d");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "8bc787ba-4e1a-4b9c-b14e-e53d1ffab49d");
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":"8fa9481a2da0e10f0d3e9f3f87621d27:91332c6d0659434f80825c6c1b811ad9b32c6894d9f29ea050c9541670ba9e81bf844540aad16d1dbde304103b3ddf2678ebf1fbf2d8e778e34c57c85b34b407a35b7c3b3f4cb3d7f59ccfc79b4e9cfac0534e4885c2eac8b36e539be999624a8cfaf8e13cfe1942a1fc4a07d79f4ca0ff81c96c578514f262c4f0ff6c197175e50f62407b27d4696f2e7bfe4741b85876dbf4116d","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2ZWRiNjU4NS1mNzkzLTQyMWItOGI0MC0zYjI1Mjk1Y2NmOWQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.17cECfFB1CBu_XyGLkwrzUJzmjySY-6qEemsGJ-xN3U"}});
melidata("add", "user", {"uid":"6edb6585-f793-421b-8b40-3b25295ccf9d","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":"6edb6585-f793-421b-8b40-3b25295ccf9d-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"2cb50516-799f-4667-be74-287914bb4672","x-d2id":"6edb6585-f793-421b-8b40-3b25295ccf9d"},"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");