";
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", "b10795b5-4c17-420c-a56b-a6bf0c99d38a");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "b10795b5-4c17-420c-a56b-a6bf0c99d38a");
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":"e1b0ee06093171c366684864bebabd2f:f5d510d03263c74b3af2230b8d9591041c92b68ed0e6df54fafb45aeab48c6272738d63f98ea2016af3c05b2786cde7f2d79db8d3cd1ce3f07e7c4094dd88e0d07ccd4c49100c9ed3ebb70eb2deb61c70bd8692283a5818ec459a835518a965303ff2cf0b00f44b0f3685f54e382d0918ecdd35ac54fa39ab1efe0f096396b3bf9de86d9afa6d24573131b0a1af361a1bf4b4f68b1","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI2MmZmYzVlYy01MWM0LTQwMDctYjdhMC03Yzk5MjhmOTlmZTYiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.hYHXasMRrTaoezH6zlIUpiOOqzQPspgYvJqFKwaf-Gc"}});
melidata("add", "user", {"uid":"62ffc5ec-51c4-4007-b7a0-7c9928f99fe6","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":"62ffc5ec-51c4-4007-b7a0-7c9928f99fe6-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"c2954302-981c-4338-bafe-6d45593b1dfb","x-d2id":"62ffc5ec-51c4-4007-b7a0-7c9928f99fe6"},"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");