";
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", "d7ba46db-f3bc-4871-84d3-d18ccf4e6905");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "d7ba46db-f3bc-4871-84d3-d18ccf4e6905");
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":"83f521dab92cbdfb5c415f507c1a48b9:96f57fee5c016d804d81ed114263c8b8f826b5bfded7d104f2f1069389dc23783023d5b45b17752569c60fd617e5a43eef182c512cbd03b7bf3b6bdd95ddb67941adbe48c8fc692e0819435004423fd3decbc09ee05a4128133a6f64653a814739ebc0510bb96ea98175b275ee25221879c18c896852551b89ff224e378531467f32817df22262a7b4969bd5e081371554cf7e35b9a6","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiI4NjllODZhYy1mOWUxLTQ2MzQtOTk0Zi01MTcwOTdlNjQ4NzAiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.HE03_NFwuhONfw4oMYRKUBA3b3FF-znpavKt6ujsP2k"}});
melidata("add", "user", {"uid":"869e86ac-f9e1-4634-994f-517097e64870","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":"869e86ac-f9e1-4634-994f-517097e64870-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"32f7d62c-63a4-41a3-8ccb-b90006c6bba1","x-d2id":"869e86ac-f9e1-4634-994f-517097e64870"},"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");