";
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", "764d95ef-736f-4e6e-8ba2-90176d2a2c6d");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "764d95ef-736f-4e6e-8ba2-90176d2a2c6d");
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":"5b675230c4c26b9bdd296a27b7903571:9a2ecd8a6ae63076c8ca7e11279f13a7ef9b393cc2664a07d32e00c0de3a1c283b6e31307a92598e952fcb39b46ff3b440da0f913cd2eefbebd4c39fc915e817c4131a3a571e6490a1178782f8718ce7757fb292b135661cd8de7fa9f35aad790eff6d8a0e1406cca1ab2249b94b61fc8510a3bb197deefbeceff98c8b97a545f871e82ee54c55307602b17a928cd5763d821666b893","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2YTk5YzZlYy1hOGY3LTQyMGQtODdhOC1mOGQ4Y2U2M2U5MzQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.aAr4sDFr7yjlQOHAgRSYL0CbcIALkmC4Ntw6c_V7lI4"}});
melidata("add", "user", {"uid":"6a99c6ec-a8f7-420d-87a8-f8d8ce63e934","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":"6a99c6ec-a8f7-420d-87a8-f8d8ce63e934-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"ad59d044-8f78-46a9-ab61-3f7212c696ce","x-d2id":"6a99c6ec-a8f7-420d-87a8-f8d8ce63e934"},"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");