";
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", "ff8e0f51-1e9f-48e2-bdb8-67ec859f7f3e");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "ff8e0f51-1e9f-48e2-bdb8-67ec859f7f3e");
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":"f8fa99f85184851a73b7a72d42594109:9fb9f33331254dd916e6a76db44507eb44d35a87392569c13000191434dbfcc6322ad2c28a9c1c1df823e245e40358427c1592ae81083f7507dd0f81e999b514cca00013faec1cf54bcf87d80974f1e3d05e227a86c6d61fb910c0aec129bd2b8c5093d888ba048c5aa81cefe363e70879269f951f1c9737ab6ba9a5f37951c4315daeb3de64c3e048d5aa4b007b1b2e4ab1becc17","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhOGQzMjFlNC1iYWRkLTRkOTMtODhlMi0wNTQwZWJjNTliYmUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.IMiEfdODWAqdE2DIfmxZrl4kl4KsFfdWzrjRpbBXOEI"}});
melidata("add", "user", {"uid":"a8d321e4-badd-4d93-88e2-0540ebc59bbe","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":"a8d321e4-badd-4d93-88e2-0540ebc59bbe-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"6dac2876-2899-413d-97cf-12eee9d3821c","x-d2id":"a8d321e4-badd-4d93-88e2-0540ebc59bbe"},"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");