";
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", "21a17b05-e416-4f9e-8e2b-1553bdb503da");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "21a17b05-e416-4f9e-8e2b-1553bdb503da");
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":"d719149db8f78791a5131ea886cb397d:71906147e78fe13ffb188c525d19240dd7c60b89264a11577d1d2a62455dbd0c195052e81893b28984b71ae95f758006cdc431a3f813b89560107c20de77fdd8d1d41498b217076f1eba2a2428515832782cdb58227b90ee46d71b3d48aabaa150b6628e8e9428ba964b7f37fee5fe12a4b6458812450369c33f1d27426b2b5c2ce6304677958eeea4c89e3d7384e34a42457fe7f9e9","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJjYzc4ZGQyYy00MDExLTQ0YTktODY3OC0wNGU3OWY3ODY3YmQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.8_Zum7HFYdre59UMCd3UlE4XAiTf3afcJDuqrkmhiBE"}});
melidata("add", "user", {"uid":"cc78dd2c-4011-44a9-8678-04e79f7867bd","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":"cc78dd2c-4011-44a9-8678-04e79f7867bd-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"3aaf0d3b-d003-474d-9261-55532b57534a","x-d2id":"cc78dd2c-4011-44a9-8678-04e79f7867bd"},"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");