";
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.5.11/melidata.min.js');
melidata("add", "id", "0d34b270-a46c-4444-bbf7-a1f0c6271edd");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "0d34b270-a46c-4444-bbf7-a1f0c6271edd");
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":"91301d3d24e194bca67754b0e0462863:73c14924107d06829c96432171629425cae8db2440489977fd7b81fde39b7a305465b599151c7c5e69599e2d85620f1f0961183f8e92ff99ff1e5acc63ebbcf1902dcdf114c1985d489826fd58a55f29766c9554aac63db702742f382c495cefb066363231bea3bab7c13016ce4f14a50ec36969bee6f817095634b4f7fdc054df66ea93ecddaad912bb33f16f788ff8769d117c1e41","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJjM2U0ZGFjZS1hZTIyLTQ3NjUtYWZiZS03MTU3N2FjZWI4MzEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.pMSJHGnaKPFanxCBVLFE6x1nit-QvUnHDdzBOU5mwpY"}});
melidata("add", "user", {"uid":"c3e4dace-ae22-4765-afbe-71577aceb831","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":"c3e4dace-ae22-4765-afbe-71577aceb831-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"6110c84b-cae3-41b7-a284-3f3f49188114","x-d2id":"c3e4dace-ae22-4765-afbe-71577aceb831"},"http_url":"https://www.elreyferretero.com/navigation/addresses-hub","http_referer":"https://www.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");