";
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", "6fcc72d0-a4eb-401e-8c1f-64f543819d79");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "6fcc72d0-a4eb-401e-8c1f-64f543819d79");
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":"48e4dd15f22d84092bb781cd6f1bc70f:6b1cfd780051f89b846f25d815132d782a622032183eea91d6ac14908977f457110c0663f58e1c25aaebe3e044d244e255a2b9a31156bb507322884c10c2ce8b4c586423fc16df5e591682dae442c6ece7411c9679041d84c55879c98dedf162c094cdfb9c2da117d12cd08f031a975eb61d0cb29baff918be9dcaa8b52b79c17fb4e1b0911303860adbb17a7999a269168d40c5f8","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzMzIyOGJjNi02Nzc5LTRlYzMtYmJkMy1jZTYyOTY0YjRkOTIiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.ka7e1oluFaf3nGy53emrzrDL8p9ktc3nHGsSexxsXKg"}});
melidata("add", "user", {"uid":"33228bc6-6779-4ec3-bbd3-ce62964b4d92","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":"33228bc6-6779-4ec3-bbd3-ce62964b4d92-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"e3207611-4500-4bfa-a940-ecc935d6e301","x-d2id":"33228bc6-6779-4ec3-bbd3-ce62964b4d92"},"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");