";
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.nonce = 'S8b+GN+lZ+3Y4tGvrXlZwg==';
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.12/melidata.min.js');
melidata("add", "id", "5e4c0afd-b4da-43a2-a0c1-07c61a326ab9");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "5e4c0afd-b4da-43a2-a0c1-07c61a326ab9");
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":"970b7d1d4c3de6246619698ea251913e:cde4da6698ee792559b700b13a0f28177e220efad5760225e3a688895f7d483f68a7af36e4aa1cdfd806befeed452a8180129a1bb4718c5b3fab233db779ca75f669ebc39b42767304e54f1ec30295db88efd0c2a839e73a08f3ea7cb4da270798c6a89ef18342a47fe76d30f17875bcf5933154ea71ed3f13cd476f18f369bef7439d1fa6bf406fb930446494bbf37cb44cff16bd","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3MGIzNTFiMC0wY2M1LTRjNTAtYjA1Yi0xMmM3ZThmZWYwZGUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.bREbrTcyIXtzlIP34wrIPEVmI9Zpv9_7oQGIXcHT2zU"}});
melidata("add", "user", {"uid":"70b351b0-0cc5-4c50-b05b-12c7e8fef0de","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":"70b351b0-0cc5-4c50-b05b-12c7e8fef0de-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"380e0573-6830-4f81-994d-cd4e44c43e31","x-d2id":"70b351b0-0cc5-4c50-b05b-12c7e8fef0de"},"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");