";
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", "da1fd1c5-902f-4d03-93e3-2b2db7adde5b");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "da1fd1c5-902f-4d03-93e3-2b2db7adde5b");
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":"0e8a9af1b03f75f05768473e2fb0ac94:6db8b5687f9a29a1b2289be94e1496ae647a21d26b093e7f9e3391a9e673bc51fde14dc5015045d6591d16d350af3464f26160899e220953232f91d39832374b277f6f0fbd7c381d80900c155c384e8c0559c39e1642a03e88882832b4ea03aa04c78807c52a9a7d3c3e6095310062495cf13e84cb5938f04717f51ddc41429adab6f6617b2dc1ed6fe83195af065c090e8e8a2db7","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI1NmY3MGY3OS1mOGE2LTQwOGMtYTQ0NS0xODUwMWQzOTkzZmMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ._eyytK1Lv4rwumvnkgpbw4NMcoB4KipiAffJNfz4euE"}});
melidata("add", "user", {"uid":"56f70f79-f8a6-408c-a445-18501d3993fc","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":"56f70f79-f8a6-408c-a445-18501d3993fc-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"c731d859-5486-4968-8be9-c87542d2de99","x-d2id":"56f70f79-f8a6-408c-a445-18501d3993fc"},"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");