";
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.11/melidata.min.js');
melidata("add", "id", "8650777a-34f5-4158-bbc7-99d754814770");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "8650777a-34f5-4158-bbc7-99d754814770");
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":"935146ff40b68522e23fe1b18fca8e14:880ed1d6e0c925f5dbd38eacbfb9226dc1a3aceb69a16468902c05afb4e0525589b99da830efac75017d2254174c4f2edb7ca3b2e5dae638e69cdd76d7a6b56bea5c4099725cf2644d30d7c18729afe94fa5082670a3b945128a306bed8795271508baf7c50bb83cae94e0d8d49b4ce9106de4e525924474b5eec99fbe42b86a29f25758e7202903740b9d8cdc6de4f99a9112b4ffc2","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJkZTViZWM1NS02ZGU3LTRlNGMtYTI5YS1lMDdiNDE0ODg5ODgiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.RPtr_b8lh2sxEGf5jsSQYrZawMlIYpgq3b53qliqJYw"}});
melidata("add", "user", {"uid":"de5bec55-6de7-4e4c-a29a-e07b41488988","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":"de5bec55-6de7-4e4c-a29a-e07b41488988-n"},"headers":{"host":"www.elreyferretero.com","x-device-js":"true","x-request-id":"c111cf93-0e1c-407a-8df8-ffe252b1b371","x-d2id":"de5bec55-6de7-4e4c-a29a-e07b41488988"},"http_url":"https://www.elreyferretero.com/navigation/addresses-hub","http_referer":"https://www.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");