";
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", "87c0ef79-278b-43c2-a69b-5dac213865e9");
melidata("add", "path", "/current_location/hub");
melidata("add", "server_id", "87c0ef79-278b-43c2-a69b-5dac213865e9");
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":"3444cf803290994150e80306a42b4add:d947b86678a8585fab426923c18aa9b866823499008dd229cccacf67a66b8f872de4df2cd8a265e381556ed0ba0b546783e71d691750a943d15d46034948aa7452419382dcd2f6161068b7a4f27588e8179f13f58a8def70264884d7e41cdace8294061017867c8b16b961f54ef3adb679be0d4da24ab1136847cda17d6d286eba92a5ca9fe4c69b165ada42fc08962665d7da98c6","signature":"eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOiJlZGIxYjBjZC00ZjYxLTRmNDItOGZhMS1jOTRmMzRiYjg5ZDgiLCJzaXRlX2lkIjoiTUxNIiwicGxhdGZvcm0iOiIvd2ViL2Rlc2t0b3AifQ.bFnyBXfwgRV3W_Oe14SWDFdNUsl_qPJoWcoVhkHJ4z4"}});
melidata("add", "user", {"uid":"edb1b0cd-4f61-4f42-8fa1-c94f34bb89d8","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":"edb1b0cd-4f61-4f42-8fa1-c94f34bb89d8-n"},"headers":{"host":"elreyferretero.com","x-device-js":"true","x-request-id":"c1f99cb7-c109-42ed-906b-8648da1b8187","x-d2id":"edb1b0cd-4f61-4f42-8fa1-c94f34bb89d8"},"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");