";
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.5.12/melidata.min.js');
melidata("add", "id", "fafcee0c-3fde-4ba8-be03-741e4a4c7e52");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "fafcee0c-3fde-4ba8-be03-741e4a4c7e52");
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":"03cd7fa24ce5a9e6200aa250a42b874a:2e059fb1bf5b383faae9344cd74d697b4227bd09c57ebc3c385b31474da09b4f88f94f3f88e6d14a938bf68660ccf35bfe7766d15956e454ab6ec4f9ef939e1db6df0b321a80349eb030a8321718d8666a31a558389a42bbe8f42f8a11b9a2874a592d934a1cc60d250285584f1f83dd669940f1953e4215783be488d746437b476949b70bd63bfb4568780fa29e8ce5e71e0aa835","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJiYzk0M2E1Yi1hYjVhLTQ3YzktYTUxZi1hMDllODQzYWQ5ODgiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.XAK_EQYu6OrFumsES-RygcS_HB__5hQXTbz0x_jLEg8"}});
melidata("add", "user", {"uid":"bc943a5b-ab5a-47c9-a51f-a09e843ad988","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":"bc943a5b-ab5a-47c9-a51f-a09e843ad988-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"c635e914-f060-4397-aacf-4644fac5abf8","x-d2id":"bc943a5b-ab5a-47c9-a51f-a09e843ad988"},"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");