";
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", "8ffd662f-d03b-4938-8ae4-427d5df2c46d");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "8ffd662f-d03b-4938-8ae4-427d5df2c46d");
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":"1d86b70f5a377fd6e88b9b25e88aece3:de37cfb996f5fb632fd0ba0a37e62a88e8f1c000739365f6971e343463cdf540b242dd614a7161da56db6003accba852d94a7504cc5523604c3086fec6af1637744f9f972ba0e0f086573a91deaa098ca69d22248ce95196f467ec52d0faee209f12858d3e756a07dd3b00ae41b49e77610fcbf6891a6bed458fce0f413eb510de02d36fe067ab94129c747696ce633b181e0b6d9f10","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI3NDQwMDAwYS1kY2E0LTQyZTYtOGNlZC0wMDg1OTRlZDEzYTMiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.44J7N3K_UC-hyIHGcBN8Fn-4fy4r0nRIv99-ioOfSck"}});
melidata("add", "user", {"uid":"7440000a-dca4-42e6-8ced-008594ed13a3","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":"7440000a-dca4-42e6-8ced-008594ed13a3-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"0656e8ef-7835-418d-966d-204b60156adb","x-d2id":"7440000a-dca4-42e6-8ced-008594ed13a3"},"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");