";
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.nonce = 'nYmn2dcCRFPRHImnafUQqA==';
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.12/melidata.min.js');
melidata("add", "id", "3d6e3b7e-8a65-4217-a3cd-6588320fea9a");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "3d6e3b7e-8a65-4217-a3cd-6588320fea9a");
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":"d1f3ad695aaf3950bbc46d1820bdb3cc:109318fd5e80fda5612a727703a76811147591a04c6cfcfd37ce236c132e40ae07bad49d202a520c2c16dcf88a88cc9daf49c81332404e19e65f11878c1110c763e1e21ff554018844956c1b839b371733ffb74cc5c9e34244531a2bef770b776bedd54838d06a0e00a8a27d79a5c1a44e54619278701e1a224086292a663c8ee11247827136b752064aefda61e24366ed6ea66f99","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJhM2M3Y2U3NC1iNWRhLTQwNGYtYjJkMy0yMjFkZTJlNGIwYmEiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.2N1U-vIX3VJZLtARUxvp9Z6-HMXfe64LDepGieAs_M0"}});
melidata("add", "user", {"uid":"a3c7ce74-b5da-404f-b2d3-221de2e4b0ba","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":"a3c7ce74-b5da-404f-b2d3-221de2e4b0ba-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"feabf62a-777e-46a7-9755-076b5926b331","x-d2id":"a3c7ce74-b5da-404f-b2d3-221de2e4b0ba"},"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");