";
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.5.12/melidata.min.js');
melidata("add", "id", "563bb6de-4513-4702-9bb0-33c32ebf6786");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "563bb6de-4513-4702-9bb0-33c32ebf6786");
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":"52ced701a3eed9ef85608a8cf274828e:f05681e9dc1e523b9cfdbc9cf8c51b9d5940ddbcc8318528d4e4f52ab1680274707f2b3def46a0e0400c75e4fc55ced598b6ae21fd947f7b98e342ff061fc40561dc1bb4d2be606594654b6b5656e87a4882cd61a222b3028ea94c24575d3303baba98d068bb08b4a740f43b14c7b1836c7b1f9cdb362cbc5496ff1731f1b0d92619224bfa14ed646349ea523c983504b6e1eb7e41","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJmNmIxMGNmNi02NDlkLTRlZTAtYjU4YS1hNjU0YzU3NTBjZDciLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.vKvzf1Qpu4GnMwdkVU-5EI9XHu-FqKrpIuhzQWb75fI"}});
melidata("add", "user", {"uid":"f6b10cf6-649d-4ee0-b58a-a654c5750cd7","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":"f6b10cf6-649d-4ee0-b58a-a654c5750cd7-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"1c872814-3241-4e90-9d93-760a8d88275d","x-d2id":"f6b10cf6-649d-4ee0-b58a-a654c5750cd7"},"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");