";
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", "5419bedf-2486-4b87-899c-409fd8f1117b");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "5419bedf-2486-4b87-899c-409fd8f1117b");
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":"6cdc4120a82457597176a451ab4fb3dd:1428c536161bfaf62351d1df77825a42f217213590f3d7773a97c8775e6b29174b8dc6ff859e48a99be63e1ee94b0397952539a3caff27fd8f33863ed6dcef464a9844eb958b94bae910738ed115fca97c85f2229f32a3159621d9bb538901444c4a6d7ddc909bbbd126252e9cef233539c49e3e21e6c71788faaaed13f2bc4125bfb1f0036f9ebb56386ec32ffaea156a66a4749b","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiIzZTMxNDhjZi1iMGY4LTQ0NTgtODc1NS0zNWFkOWUxODU4NDAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.4tbvzjB6zuwv3fIxxPRvL6IZOPgtJHSxJM7z4tcSQBk"}});
melidata("add", "user", {"uid":"3e3148cf-b0f8-4458-8755-35ad9e185840","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":"3e3148cf-b0f8-4458-8755-35ad9e185840-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"6f181313-9034-4a6e-a735-f6f23e3bb25b","x-d2id":"3e3148cf-b0f8-4458-8755-35ad9e185840"},"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");