";
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", "4fc0e011-dca9-40ea-8865-c9a09697c2eb");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "4fc0e011-dca9-40ea-8865-c9a09697c2eb");
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":"5bb42a0f377b65b708d8248b10e8b482:9555433dcc9130befaf846cc7403627990008ea51c34a2fe18ce14db5d8178547ee1663c705665b001476a3a9fa180cf2583db48211c62986245a319169187246aa0d7e67ba92bad093def05fb6a73db9a8c5940d01f5cfa5f29a6a8a32d010918846076a873034247f4d29c4dc8b0918b439a93eed1588d3bc0b1078ad39fe710d9212ec595851c02dddb123579b1e27e2af1e228","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3YjExNTJkYS02MzAzLTQ1YzAtYjY3ZS02Nzc2NzkyNmM3MzAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.ixjcPsnCAC3s1pBbcjFCLvg1ubS5UE3eRPlyw3Cy2Ps"}});
melidata("add", "user", {"uid":"7b1152da-6303-45c0-b67e-67767926c730","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":"7b1152da-6303-45c0-b67e-67767926c730-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"6e0308d2-0aab-4215-b85a-d9fcef913930","x-d2id":"7b1152da-6303-45c0-b67e-67767926c730"},"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");