";
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", "2f51bd3c-cbd3-495d-ac89-7022dc978b5d");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "2f51bd3c-cbd3-495d-ac89-7022dc978b5d");
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":"0f2dcf688b0f50381cf802380b7bfedb:5d3687d5538cd521c8c4d43827acb30c1547e814e4e7b1c11a66c0f80310e6a9106c49b0c9b6a9c9a7f3614417c96c30954516b1a92963cab5396aa2051c18e11f953d81e5de5e490cf414bb52de1a554bb7aaa8b6f44cddc1501c570934ddcb6482183ac0d30da18e62f2005ece5990318ed11b2adcea47a77f3b427b08a435952cf8bfd4adb9fa2804d3cfc86885a4882838563128","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJjMzY1NTIzZS1iYjUzLTQ2MDgtYjE1Yy1lYmUwNWVjMWRkMzQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.7E43RMQIBSl4xOA5_hb5ZfORLdeIG-bFDmUSTsmbvuI"}});
melidata("add", "user", {"uid":"c365523e-bb53-4608-b15c-ebe05ec1dd34","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":"c365523e-bb53-4608-b15c-ebe05ec1dd34-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"4d8643e9-774f-4fa4-af62-502400532aa2","x-d2id":"c365523e-bb53-4608-b15c-ebe05ec1dd34"},"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");