";
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", "a827853e-5081-42a5-843a-193e0b7409c4");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "a827853e-5081-42a5-843a-193e0b7409c4");
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":"deafc1a7d0a15c7ee2914954c8529cb1:9dd2b2780af2c2611ee5638ab86f452d0873fac1a183a96428f11b7365a36260c195c2c7aa59814ec85daac4df5fe7027855f245403fbd48b0132a25c354e6ec985b5c8f2f279a69079ec88d906e40d10e4accbe277685726328f74e306ad9eeee70d006ba8a8528a84d241b19e38a86b39f1edf5d632a9b9e15a726450e90f1e9af7721bd9b23af8b935877bb741e8cba01d5547e","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkMjU0YzJlZS1kMjJmLTQ5ZGMtOWRlYy00MzVhMWU4OWU2MzUiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.hqlUMzdas5jVua6Mx8ZFwiMhYQYHmOYgDPiphSQZoTk"}});
melidata("add", "user", {"uid":"d254c2ee-d22f-49dc-9dec-435a1e89e635","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":"d254c2ee-d22f-49dc-9dec-435a1e89e635-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"fb1d6554-c497-42f9-acff-421b5bdfc804","x-d2id":"d254c2ee-d22f-49dc-9dec-435a1e89e635"},"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");