";
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", "c7be28eb-687e-44cb-b46b-1472b40f79b5");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "c7be28eb-687e-44cb-b46b-1472b40f79b5");
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":"174081f1031d78ee17621f94f18f61a9:88f5e05b88daccb2a64cd257b3e068b817861a36d2016dd6f4a3d159865093095522d0b82670f0238c20dfd2b15a3aef498e47e6cf37d5d354a8ad2a1e462e017bd1bb38c93e9f603f00be49f5a687ccdda2b869ccb832e6b27ea5611e8c233fea2c70442b82a7ff2d244aa1426b2641d64b2d2aa8d95293bba9d02966561b591dec066b56d3a0db0f9b2243d6792cf229813432e5","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiNGI4MmIyOC0yOWRiLTQxYmMtYmRiZS0wNzU0MTMzYTMzNmQiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.237CwxYJM263SbYQttCdpHQazbSlXEhqbRUPQf37xCk"}});
melidata("add", "user", {"uid":"b4b82b28-29db-41bc-bdbe-0754133a336d","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":"b4b82b28-29db-41bc-bdbe-0754133a336d-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"ceba9180-976b-45e9-b40a-f8c7c8bc1c54","x-d2id":"b4b82b28-29db-41bc-bdbe-0754133a336d"},"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");