";
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", "313c9609-37ab-4a44-b7d8-4cf3677e3ca7");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "313c9609-37ab-4a44-b7d8-4cf3677e3ca7");
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":"8575b3931ff12946d048eb979ad6053d:fa3f4ac48ae0816a811d591dfd3150f5da472c4eb256f3076dd5ad4edd46d20ffd53b98c207f5ce70bfa8b1ce97d06f19cab52f26b05a2746295be5d2f0084887aab7b77490696720215f4b2b31ce619bd5a1ced4ad45f6616fec94c9f7e4c26980cc42aa2bd510b9cf43c555cb837f20c41fea63581bb775353416b4e9032a1e915a463ba2fb0dc7e1cdaa4e05545225f1a21511e","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIyOWQwYmRhMS1hZmY4LTQ0OWMtYjczOC1iOWNlOWEyYzRlYTQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.Xnt_ClTW_27LE5CeQdCAWIU7isuFZoMvAffOEvMzhSQ"}});
melidata("add", "user", {"uid":"29d0bda1-aff8-449c-b738-b9ce9a2c4ea4","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":"29d0bda1-aff8-449c-b738-b9ce9a2c4ea4-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"15da51a0-500d-498c-8962-ad1fe9f29093","x-d2id":"29d0bda1-aff8-449c-b738-b9ce9a2c4ea4"},"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");