";
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", "4f8d322f-7237-4054-9ce0-396e36e59a29");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "4f8d322f-7237-4054-9ce0-396e36e59a29");
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":"1a46f79eda613d9127a851c6ee54fa89:5386ded98ada3cbb7401b2c51928284058897952d7312b1aa770855980ff358ab2701e5d0c6cd1061a3253ed5d0da928afae8a4659349b4e426b91f1b03895ee460ba6f9839e9b6fbf7b3f443ef6b5508b572cd0a79c5e40e07f3fcabc8802824b6212ef3e73b82c47aad3ab9b4f41389d8d1530de321ef149dca910584be5db2d554e00b409ccfd148f532c7c66a140ef1b180d05","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1OTQ1ODQzOS1mNDY3LTQwNGItYTRjZi05NjkxZTlkMDVkM2IiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.F1famq87Cm4p7Wma3Z2vabJRdB4uFuAG9Dr_6bzHbPU"}});
melidata("add", "user", {"uid":"59458439-f467-404b-a4cf-9691e9d05d3b","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":"59458439-f467-404b-a4cf-9691e9d05d3b-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"98580a97-40c7-4e4e-a8aa-92d86586442e","x-d2id":"59458439-f467-404b-a4cf-9691e9d05d3b"},"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");