";
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", "c0a35474-271c-4b0c-a6d4-5edd0daea65b");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "c0a35474-271c-4b0c-a6d4-5edd0daea65b");
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":"294235d11ea9e44629714628380012fd:df6cbeb2be2a5de3965df7d36f04946df4d19c871565c13269330388ffce65b088a8ef4a636384a675b09dc4eafca2d68e468c145334a2c9150c36d70de587ce57d891f4317d339b9d8aeb48be734b25100180d562b9df8257bf0a8a08716d743660658b85d3fe14e470a3e7fea5703b3dc7e0c92f4bb9d72239d9368b43317845359695c4ac5cf53e91910bdcd48084c0998a0e04","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI5ZjRjNDE1ZS03NTQ2LTRlMjctODFjYi00NjQ1MmQyOTdjMTUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.vgGmlbdmuAA4IfG4pqvm_VS9-0I8nVWdvgNIGBQD8SY"}});
melidata("add", "user", {"uid":"9f4c415e-7546-4e27-81cb-46452d297c15","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":"9f4c415e-7546-4e27-81cb-46452d297c15-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"cd33537a-0e94-4615-894a-f81b2ffe330d","x-d2id":"9f4c415e-7546-4e27-81cb-46452d297c15"},"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");