";
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", "adf740be-cba5-48c1-bdbe-ff095ce121ac");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "adf740be-cba5-48c1-bdbe-ff095ce121ac");
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":"b9e7c4b88134b2d1ba32fb72a51a6bbf:cb8189dda5d74c0fd31402326b19bcdc3b28478cb8b23dbddcb0b16e0244195b572a2fa2638eaaca5d2e28033a0f32a54fda8c6aacfffded51b492c93753a4c58e15e756d9275f6575d44be9376b54578991ba32160a00029c334132e5ea65d42a45d9798d3824ab1a39c3a91b32c9ae3a3cda306b7bdc0044db9d5c33eff665351ddbb4aa8c3dfefe2eaa7a47ea07f1472ea625df11","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzMWUxYjg1MS1mYzc0LTQ5NDQtYmVlMi1jZmU5MWIwMmJkNGUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ._uGi8oP5Wd49TX3KmrXdd6aDD99dAHqIjtijZA-jAFI"}});
melidata("add", "user", {"uid":"31e1b851-fc74-4944-bee2-cfe91b02bd4e","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":"31e1b851-fc74-4944-bee2-cfe91b02bd4e-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"becca986-ccfb-42fe-b469-c6227dc17468","x-d2id":"31e1b851-fc74-4944-bee2-cfe91b02bd4e"},"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");