";
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.nonce = 'gXxgLRQdHmmVllCOvtYekA==';
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", "151978e0-c9cd-4fb2-b270-3c4ab7dab661");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "151978e0-c9cd-4fb2-b270-3c4ab7dab661");
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":"922a31ff5fd652b0c5d8edea3eecc472:a90876bf7165a441ff90ae1b6afbbd4252cd408c899ef6f216f0d0edd9f8782e5f56ba2b9cd5d85870151d265dfb602aab2b8751a2faf712d7b1e3679c18e2cbecdb747fcee6deff765f779d4c4b5e65c271424b1713ed40ed90b8b163993c53ef740d0cbea9ffb71c2cbde4521e387a9fcdede5cc2f953acb642581868abea239a91851e1caff7e7c2312b7385b5406a78090167e","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhOWZmNDRmNy0zOGY3LTRjMjQtODU4OC1kM2Y1N2UyNDk2OTgiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.IBqRz8wRuNiK9GC0zwX1EyNIZO79uvHd2wSLhes-6AQ"}});
melidata("add", "user", {"uid":"a9ff44f7-38f7-4c24-8588-d3f57e249698","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":"a9ff44f7-38f7-4c24-8588-d3f57e249698-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"963241b6-9f81-4a77-9185-e1c19714e660","x-d2id":"a9ff44f7-38f7-4c24-8588-d3f57e249698"},"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");